473,385 Members | 2,069 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Disable button after first click

Anyone knows the method/codes to disable the clicked button after first
click by using .aspx-- to prevent people to click many time when waiting for
the server response.

I tried to do this by adding a java script for the button. But, useless..

Please help! Thank you
Nov 17 '05 #1
14 7149
Using Javascript(Client side
You can add a javascript onclick handler in the .cs file as unde

string x = "document.Form1.Button1.disabled=true"
this.Button1.Attributes.Add("onclick",x)

To do the same on the server side

add the following to your button click event handler { i.e the function --private void Button1_Click(object sender, System.EventArgs e)
this.Button1.Enabled=false
Nov 17 '05 #2
Sinity,

I'm just about to post the code to do this on my website, but here you go:

It stops the submit, but even better it calls some of the same .Net client
side code and doesn't disable the button if any required field validators
aren't valid and the page doesn't actually submit.

<script language="javascript">
<!--
var submitcount=0;

function disableSubmit()
{
if (typeof(Page_ClientValidate)=='function')
{
if (Page_ClientValidate() == true)
{
return checkSubmit();
}
else
{
return true;
}
}
else
{
return checkSubmit();
}
}

function checkSubmit()
{
if (submitcount == 0)
{
submitcount++; return true;
}
else
{
alert('This form has already been submitted.'); return false;
}
}
//-->
</script>

Attach it to your button like so:

SubmitButton.Attributes.Add("onClick", "javascript: return
disableSubmit();")
Sincerely,

--
S. Justin Gengo, MCP
Web Developer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
"Sinity" <si****@msn.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Anyone knows the method/codes to disable the clicked button after first
click by using .aspx-- to prevent people to click many time when waiting for the server response.

I tried to do this by adding a java script for the button. But, useless..

Please help! Thank you

Nov 17 '05 #3
> if (Page_ClientValidate() == true)
{
return checkSubmit();
}
else
{
return true; <<< ----- You mean return false; right?
}
Homa Wong
"S. Justin Gengo" <sj*****@aboutfortunate.com> wrote in message news:<ud**************@TK2MSFTNGP10.phx.gbl>... Sinity,

I'm just about to post the code to do this on my website, but here you go:

It stops the submit, but even better it calls some of the same .Net client
side code and doesn't disable the button if any required field validators
aren't valid and the page doesn't actually submit.

<script language="javascript">
<!--
var submitcount=0;

function disableSubmit()
{
if (typeof(Page_ClientValidate)=='function')
{
if (Page_ClientValidate() == true)
{
return checkSubmit();
}
else
{
return true;
}
}
else
{
return checkSubmit();
}
}

function checkSubmit()
{
if (submitcount == 0)
{
submitcount++; return true;
}
else
{
alert('This form has already been submitted.'); return false;
}
}
//-->
</script>

Attach it to your button like so:

SubmitButton.Attributes.Add("onClick", "javascript: return
disableSubmit();")
Sincerely,

--
S. Justin Gengo, MCP
Web Developer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
"Sinity" <si****@msn.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Anyone knows the method/codes to disable the clicked button after first
click by using .aspx-- to prevent people to click many time when waiting

for
the server response.

I tried to do this by adding a java script for the button. But, useless..

Please help! Thank you

Nov 17 '05 #4
As the server response is slow something because of the network traffic,
users click again and again.

how can I manage this problem in aspx level?

I am using VB.NET as the devevelopment tool
"S. Justin Gengo" <sj*****@aboutfortunate.com> ¼¶¼g©ó¶l¥ó·s»D
:ud**************@TK2MSFTNGP10.phx.gbl...
Sinity,

I'm just about to post the code to do this on my website, but here you go:

It stops the submit, but even better it calls some of the same .Net client
side code and doesn't disable the button if any required field validators
aren't valid and the page doesn't actually submit.

<script language="javascript">
<!--
var submitcount=0;

function disableSubmit()
{
if (typeof(Page_ClientValidate)=='function')
{
if (Page_ClientValidate() == true)
{
return checkSubmit();
}
else
{
return true;
}
}
else
{
return checkSubmit();
}
}

function checkSubmit()
{
if (submitcount == 0)
{
submitcount++; return true;
}
else
{
alert('This form has already been submitted.'); return false;
}
}
//-->
</script>

Attach it to your button like so:

SubmitButton.Attributes.Add("onClick", "javascript: return
disableSubmit();")
Sincerely,

--
S. Justin Gengo, MCP
Web Developer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
"Sinity" <si****@msn.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Anyone knows the method/codes to disable the clicked button after first
click by using .aspx-- to prevent people to click many time when waiting

for
the server response.

I tried to do this by adding a java script for the button. But, useless..
Please help! Thank you


Nov 17 '05 #5
If IsPostBack Then
button.enabled = false
End If

"Sinity" <si****@msn.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Anyone knows the method/codes to disable the clicked button after first
click by using .aspx-- to prevent people to click many time when waiting for the server response.

I tried to do this by adding a java script for the button. But, useless..

Please help! Thank you

Nov 17 '05 #6
No, "return false;" is correct. Try it out.

Sincerely,

--
S. Justin Gengo, MCP
Web Developer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
"Homa" <ho******@yahoo.com> wrote in message
news:a9**************************@posting.google.c om...
if (Page_ClientValidate() == true)
{
return checkSubmit();
}
else
{
return true; <<< ----- You mean return false; right?
}


Homa Wong
"S. Justin Gengo" <sj*****@aboutfortunate.com> wrote in message

news:<ud**************@TK2MSFTNGP10.phx.gbl>...
Sinity,

I'm just about to post the code to do this on my website, but here you go:
It stops the submit, but even better it calls some of the same .Net client side code and doesn't disable the button if any required field validators aren't valid and the page doesn't actually submit.

<script language="javascript">
<!--
var submitcount=0;

function disableSubmit()
{
if (typeof(Page_ClientValidate)=='function')
{
if (Page_ClientValidate() == true)
{
return checkSubmit();
}
else
{
return true;
}
}
else
{
return checkSubmit();
}
}

function checkSubmit()
{
if (submitcount == 0)
{
submitcount++; return true;
}
else
{
alert('This form has already been submitted.'); return false;
}
}
//-->
</script>

Attach it to your button like so:

SubmitButton.Attributes.Add("onClick", "javascript: return
disableSubmit();")
Sincerely,

--
S. Justin Gengo, MCP
Web Developer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
"Sinity" <si****@msn.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Anyone knows the method/codes to disable the clicked button after first click by using .aspx-- to prevent people to click many time when waiting
for
the server response.

I tried to do this by adding a java script for the button. But,

useless..
Please help! Thank you

Nov 17 '05 #7

?? But I thought you wrote "return true" ??

Homa Wong
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 17 '05 #8
Homa,

Now I've confused myself! Yes, it has to be "return true;".

This is because the submit button's click event fires off two different
asp.net javascripts. One is the javascript I'm tying into:
Page_ClientValidate, the other is a javascript that checks the required
field validators.

At the point in question inside of my javascript if the Button doesn't get
clicked (which is what "return false;" would cause then any validators on
the page wouldn't get displayed properly.

Sincerely,

--
S. Justin Gengo, MCP
Web Developer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
"Homa Wong" <no*****@MyWorld.com> wrote in message
news:eN**************@TK2MSFTNGP09.phx.gbl...

?? But I thought you wrote "return true" ??

Homa Wong
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 17 '05 #9
haha,

...."Out of chaos comes order."
Homa Wong

"S. Justin Gengo" <sj*****@aboutfortunate.com> wrote in message news:<u6**************@TK2MSFTNGP11.phx.gbl>...
Homa,

Now I've confused myself! Yes, it has to be "return true;".

This is because the submit button's click event fires off two different
asp.net javascripts. One is the javascript I'm tying into:
Page_ClientValidate, the other is a javascript that checks the required
field validators.

At the point in question inside of my javascript if the Button doesn't get
clicked (which is what "return false;" would cause then any validators on
the page wouldn't get displayed properly.

Sincerely,

--
S. Justin Gengo, MCP
Web Developer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
"Homa Wong" <no*****@MyWorld.com> wrote in message
news:eN**************@TK2MSFTNGP09.phx.gbl...

?? But I thought you wrote "return true" ??

Homa Wong
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 17 '05 #10
LOL

--
S. Justin Gengo, MCP
Web Developer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
"Homa" <ho******@yahoo.com> wrote in message
news:a9**************************@posting.google.c om...
haha,

..."Out of chaos comes order."
Homa Wong

"S. Justin Gengo" <sj*****@aboutfortunate.com> wrote in message

news:<u6**************@TK2MSFTNGP11.phx.gbl>...
Homa,

Now I've confused myself! Yes, it has to be "return true;".

This is because the submit button's click event fires off two different
asp.net javascripts. One is the javascript I'm tying into:
Page_ClientValidate, the other is a javascript that checks the required
field validators.

At the point in question inside of my javascript if the Button doesn't get clicked (which is what "return false;" would cause then any validators on the page wouldn't get displayed properly.

Sincerely,

--
S. Justin Gengo, MCP
Web Developer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
"Homa Wong" <no*****@MyWorld.com> wrote in message
news:eN**************@TK2MSFTNGP09.phx.gbl...

?? But I thought you wrote "return true" ??

Homa Wong
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 17 '05 #11
You could try using an if/then that checks a session variable to see if it's
set to true. Then inside of the if/then set the session variable to be
false. That way if the form is submitted a second time the code inside the
if/then won't be run a second time...

Sincerely,

--
S. Justin Gengo, MCP
Web Developer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
"Sinity" <si****@msn.com> wrote in message
news:eR**************@TK2MSFTNGP10.phx.gbl...
As the server response is slow something because of the network traffic,
users click again and again.

how can I manage this problem in aspx level?

I am using VB.NET as the devevelopment tool
"S. Justin Gengo" <sj*****@aboutfortunate.com> ¼¶¼g©ó¶l¥ó·s»D
:ud**************@TK2MSFTNGP10.phx.gbl...
Sinity,

I'm just about to post the code to do this on my website, but here you go:

It stops the submit, but even better it calls some of the same .Net client side code and doesn't disable the button if any required field validators aren't valid and the page doesn't actually submit.

<script language="javascript">
<!--
var submitcount=0;

function disableSubmit()
{
if (typeof(Page_ClientValidate)=='function')
{
if (Page_ClientValidate() == true)
{
return checkSubmit();
}
else
{
return true;
}
}
else
{
return checkSubmit();
}
}

function checkSubmit()
{
if (submitcount == 0)
{
submitcount++; return true;
}
else
{
alert('This form has already been submitted.'); return false;
}
}
//-->
</script>

Attach it to your button like so:

SubmitButton.Attributes.Add("onClick", "javascript: return
disableSubmit();")
Sincerely,

--
S. Justin Gengo, MCP
Web Developer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
"Sinity" <si****@msn.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Anyone knows the method/codes to disable the clicked button after first click by using .aspx-- to prevent people to click many time when
waiting for
the server response.

I tried to do this by adding a java script for the button. But,

useless..
Please help! Thank you



Nov 17 '05 #12
This is very basic ASP.NET stuff:

If IsPostBack Then
button.enabled = false
End If

The ability to determine if a form is being submitted for the first time is
already built into the ASP.NET architecture.

"S. Justin Gengo" <sj*****@aboutfortunate.com> wrote in message
news:u%***************@TK2MSFTNGP11.phx.gbl...
You could try using an if/then that checks a session variable to see if it's set to true. Then inside of the if/then set the session variable to be
false. That way if the form is submitted a second time the code inside the
if/then won't be run a second time...

Sincerely,

--
S. Justin Gengo, MCP
Web Developer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
"Sinity" <si****@msn.com> wrote in message
news:eR**************@TK2MSFTNGP10.phx.gbl...
As the server response is slow something because of the network traffic,
users click again and again.

how can I manage this problem in aspx level?

I am using VB.NET as the devevelopment tool
"S. Justin Gengo" <sj*****@aboutfortunate.com> ¼¶¼g©ó¶l¥ó·s»D
:ud**************@TK2MSFTNGP10.phx.gbl...
Sinity,

I'm just about to post the code to do this on my website, but here you go:
It stops the submit, but even better it calls some of the same .Net client side code and doesn't disable the button if any required field validators aren't valid and the page doesn't actually submit.

<script language="javascript">
<!--
var submitcount=0;

function disableSubmit()
{
if (typeof(Page_ClientValidate)=='function')
{
if (Page_ClientValidate() == true)
{
return checkSubmit();
}
else
{
return true;
}
}
else
{
return checkSubmit();
}
}

function checkSubmit()
{
if (submitcount == 0)
{
submitcount++; return true;
}
else
{
alert('This form has already been submitted.'); return false;
}
}
//-->
</script>

Attach it to your button like so:

SubmitButton.Attributes.Add("onClick", "javascript: return
disableSubmit();")
Sincerely,

--
S. Justin Gengo, MCP
Web Developer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
"Sinity" <si****@msn.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
> Anyone knows the method/codes to disable the clicked button after first > click by using .aspx-- to prevent people to click many time when waiting for
> the server response.
>
> I tried to do this by adding a java script for the button. But,

useless..
>
> Please help! Thank you
>
>



Nov 17 '05 #13
Scott,

Maybe I misunderstood sinity, but I thought the problem was keeping the user
from clicking the submit button a second time before the postback to the
server was complete.

If that happens (say when a user is submitting an order for processing) they
would end up with two orders. It wouldn't matter if you disable the button
from server side code like in the example you gave because back on the
client the button would still be enabled until the round trip of the post
back is completed. Sinity says that the server process takes a long time
which means that the client has plenty of time to try clicking submit again.

The javascript I supplied disables the button client side, but only if the
client has javascript. I think Sinity is asking for a way to keep a second
submit from processing if it does escape the javascript. I only know of two
ways to do that. One is to use a session variable like I suggested. The
other would only work if information is being databased. As long as the
database has a timestamp, the information being entered could be checked
against existing entries to see if there is an entry that contains identical
info. And if an identical entry is found, check its timestamp and stop the
processing if the timestamps are, say, up to only 30 seconds apart.

Sincerely,

--
S. Justin Gengo, MCP
Web Developer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
"Scott M." <s-***@badspamsnet.net> wrote in message
news:eS**************@tk2msftngp13.phx.gbl...
This is very basic ASP.NET stuff:

If IsPostBack Then
button.enabled = false
End If

The ability to determine if a form is being submitted for the first time is already built into the ASP.NET architecture.

"S. Justin Gengo" <sj*****@aboutfortunate.com> wrote in message
news:u%***************@TK2MSFTNGP11.phx.gbl...
You could try using an if/then that checks a session variable to see if

it's
set to true. Then inside of the if/then set the session variable to be
false. That way if the form is submitted a second time the code inside the if/then won't be run a second time...

Sincerely,

--
S. Justin Gengo, MCP
Web Developer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
"Sinity" <si****@msn.com> wrote in message
news:eR**************@TK2MSFTNGP10.phx.gbl...
As the server response is slow something because of the network traffic, users click again and again.

how can I manage this problem in aspx level?

I am using VB.NET as the devevelopment tool
"S. Justin Gengo" <sj*****@aboutfortunate.com> ¼¶¼g©ó¶l¥ó·s»D
:ud**************@TK2MSFTNGP10.phx.gbl...
> Sinity,
>
> I'm just about to post the code to do this on my website, but here you
go:
>
> It stops the submit, but even better it calls some of the same .Net

client
> side code and doesn't disable the button if any required field

validators
> aren't valid and the page doesn't actually submit.
>
> <script language="javascript">
> <!--
> var submitcount=0;
>
> function disableSubmit()
> {
> if (typeof(Page_ClientValidate)=='function')
> {
> if (Page_ClientValidate() == true)
> {
> return checkSubmit();
> }
> else
> {
> return true;
> }
> }
> else
> {
> return checkSubmit();
> }
> }
>
> function checkSubmit()
> {
> if (submitcount == 0)
> {
> submitcount++; return true;
> }
> else
> {
> alert('This form has already been submitted.'); return

false; > }
> }
> //-->
> </script>
>
> Attach it to your button like so:
>
> SubmitButton.Attributes.Add("onClick", "javascript: return
> disableSubmit();")
>
>
> Sincerely,
>
> --
> S. Justin Gengo, MCP
> Web Developer
>
> Free code library at:
> www.aboutfortunate.com
>
> "Out of chaos comes order."
> Nietzche
>
>
> "Sinity" <si****@msn.com> wrote in message
> news:%2****************@TK2MSFTNGP11.phx.gbl...
> > Anyone knows the method/codes to disable the clicked button after

first
> > click by using .aspx-- to prevent people to click many time when

waiting
> for
> > the server response.
> >
> > I tried to do this by adding a java script for the button. But,
useless..
> >
> > Please help! Thank you
> >
> >
>
>



Nov 17 '05 #14
Yes, you're right. I think it was me who misunderstood. Thanks.
"S. Justin Gengo" <sj*****@aboutfortunate.com> wrote in message
news:e4**************@TK2MSFTNGP09.phx.gbl...
Scott,

Maybe I misunderstood sinity, but I thought the problem was keeping the user from clicking the submit button a second time before the postback to the
server was complete.

If that happens (say when a user is submitting an order for processing) they would end up with two orders. It wouldn't matter if you disable the button
from server side code like in the example you gave because back on the
client the button would still be enabled until the round trip of the post
back is completed. Sinity says that the server process takes a long time
which means that the client has plenty of time to try clicking submit again.
The javascript I supplied disables the button client side, but only if the
client has javascript. I think Sinity is asking for a way to keep a second
submit from processing if it does escape the javascript. I only know of two ways to do that. One is to use a session variable like I suggested. The
other would only work if information is being databased. As long as the
database has a timestamp, the information being entered could be checked
against existing entries to see if there is an entry that contains identical info. And if an identical entry is found, check its timestamp and stop the
processing if the timestamps are, say, up to only 30 seconds apart.

Sincerely,

--
S. Justin Gengo, MCP
Web Developer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
"Scott M." <s-***@badspamsnet.net> wrote in message
news:eS**************@tk2msftngp13.phx.gbl...
This is very basic ASP.NET stuff:

If IsPostBack Then
button.enabled = false
End If

The ability to determine if a form is being submitted for the first time

is
already built into the ASP.NET architecture.

"S. Justin Gengo" <sj*****@aboutfortunate.com> wrote in message
news:u%***************@TK2MSFTNGP11.phx.gbl...
You could try using an if/then that checks a session variable to see if
it's
set to true. Then inside of the if/then set the session variable to be
false. That way if the form is submitted a second time the code inside the if/then won't be run a second time...

Sincerely,

--
S. Justin Gengo, MCP
Web Developer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
"Sinity" <si****@msn.com> wrote in message
news:eR**************@TK2MSFTNGP10.phx.gbl...
> As the server response is slow something because of the network traffic, > users click again and again.
>
> how can I manage this problem in aspx level?
>
> I am using VB.NET as the devevelopment tool
>
>
> "S. Justin Gengo" <sj*****@aboutfortunate.com> ¼¶¼g©ó¶l¥ó·s»D
> :ud**************@TK2MSFTNGP10.phx.gbl...
> > Sinity,
> >
> > I'm just about to post the code to do this on my website, but here you go:
> >
> > It stops the submit, but even better it calls some of the same
..Net client
> > side code and doesn't disable the button if any required field
validators
> > aren't valid and the page doesn't actually submit.
> >
> > <script language="javascript">
> > <!--
> > var submitcount=0;
> >
> > function disableSubmit()
> > {
> > if (typeof(Page_ClientValidate)=='function')
> > {
> > if (Page_ClientValidate() == true)
> > {
> > return checkSubmit();
> > }
> > else
> > {
> > return true;
> > }
> > }
> > else
> > {
> > return checkSubmit();
> > }
> > }
> >
> > function checkSubmit()
> > {
> > if (submitcount == 0)
> > {
> > submitcount++; return true;
> > }
> > else
> > {
> > alert('This form has already been submitted.'); return

false; > > }
> > }
> > //-->
> > </script>
> >
> > Attach it to your button like so:
> >
> > SubmitButton.Attributes.Add("onClick", "javascript: return
> > disableSubmit();")
> >
> >
> > Sincerely,
> >
> > --
> > S. Justin Gengo, MCP
> > Web Developer
> >
> > Free code library at:
> > www.aboutfortunate.com
> >
> > "Out of chaos comes order."
> > Nietzche
> >
> >
> > "Sinity" <si****@msn.com> wrote in message
> > news:%2****************@TK2MSFTNGP11.phx.gbl...
> > > Anyone knows the method/codes to disable the clicked button after first
> > > click by using .aspx-- to prevent people to click many time when
waiting
> > for
> > > the server response.
> > >
> > > I tried to do this by adding a java script for the button. But,
> useless..
> > >
> > > Please help! Thank you
> > >
> > >
> >
> >
>
>



Nov 17 '05 #15

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Sinity | last post by:
Anyone knows the method/codes to disable the clicked button after first click by using .aspx-- to prevent people to click many time when waiting for the server response. I tried to do this by...
29
by: lori3laz | last post by:
How do you disable the right click>view source option on web pages so people can't view your coding and copy it? What's the html I need to include in my website to utilize this feature? Thank...
7
by: nicholas | last post by:
how can I disable a button when the user clicks on it and the webform is validated. I want this to prevent the user from clicking twice and by this submitting the form twice. Thank you. ...
1
by: Earl Teigrob | last post by:
PROBLEM: When a user control is loaded into a PlaceHolder control more than once, the events do not fire on the first click of a control on the dynamically loaded user control. In other words, the...
1
by: Tee | last post by:
Hi, I have a server side Button that with the code Button3.Attributes.Add("onclick", "javascript:document.all.disabled=True; return false;") but it don't work as it supposed to be, disable...
0
by: megan_c | last post by:
Hi, I have several check boxes on a form which are bound to a database record. I'm having an issue with one of them. After loading and binding the controls, i disable and enable this one(I'll...
4
by: Buddy Ackerman | last post by:
If I put client side code to disable a button (so that a user doesn't click it twice and double post the form) then teh button doesn't get posted with the form and the button's server-side click...
6
by: user | last post by:
Hello, With ASP.NET2, how to program a button's click ? For example, I have two button and when i click the first one, i would like that the second one will be click too (by programming) ......
2
by: William | last post by:
Hi I've created a page with only 'n blank table control on it. When clicking a button, the table populates with various textboxes and dropdown lists to make up a complete form. In the last row...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.