S
Steve Kershaw
Hi,
I need to fire a server side button click event from my client side
javascript. The client side javascript code follows:
<script language="javascript" type="text/javascript">
function myFunction()
{
var strname;
strname = prompt("What is your name", "");
form1.<%= hiddenTextField.ClientID %>.value = strname;
form1.<% =btnSubmit.ClientID %>.click();
}
</script>
You can see that I'm trying to use the "click();" event for the <asp:
"btnSubmit" button but it dosen't seem to work.
Any ideas?!
Thanks in advance for your help.
Steve
I need to fire a server side button click event from my client side
javascript. The client side javascript code follows:
<script language="javascript" type="text/javascript">
function myFunction()
{
var strname;
strname = prompt("What is your name", "");
form1.<%= hiddenTextField.ClientID %>.value = strname;
form1.<% =btnSubmit.ClientID %>.click();
}
</script>
You can see that I'm trying to use the "click();" event for the <asp:
"btnSubmit" button but it dosen't seem to work.
Any ideas?!
Thanks in advance for your help.
Steve