Re: Disable Button after Click?



Thanks, new it was simple. How do I validate the form and if
successful then disable else leave alone? I have this so far

<form id="form1" name="form1" method="post" action="">
<input name="textfield" type="text" class="control" />
<input name="Submit" type="submit" class="control"
onclick="MM_validateForm('textfield','','R');this.disabled=('disabled');return
document.MM_returnValue" value="Submit" />
</form>

.


Quantcast