Logo 
Search:

Asp.net Answers

Ask Question   UnAnswered
Home » Forum » Asp.net       RSS Feeds
  Question Asked By: Oscar Montgomery   on Aug 19 In Asp.net Category.

  
Question Answered By: Vinit Online   on Aug 19

Here's a bit of code I found to solve this problem:


<script language=javascript>
<!--
var clickedButton = false;

function check()
{
if (clickedButton)
{
clickedButton = false;
return true;
}
else
{
return false;
}
}

//-->
</script>

</HEAD>
<BODY ms_positioning="GridLayout">
<FORM ID="Form1" onSubmit="return check()">
<INPUT TYPE="TEXT" ID="Text1" NAME="Text1">
<INPUT TYPE="SUBMIT" onClick="clickedButton=true" ID="Submit1"
NAME="Submit1">
</FORM>
</BODY>


I know that it is bad for me to answre an ASP question here,
but I guess I was born to be bad!

Share: 

 

This Question has 10 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on problem in ASP not ASP.net Or get search suggestion and latest updates.


Tagged: