Javascript / Forms / Disable Form Button
This shows how to disable an input button after it has been clicked once..
uncomment the submit line to get the form to submit!
uncomment the submit line to get the form to submit!
General Details
Snippet uploaded by: snippet
Email : webmaster@snippetlibrary.com
Snippet By: Unknown
<!---Head--->
<script language="javascript">
function disableClick(the_form){
the_form.oneclick.disabled=true;
//the_form.submit();
}
</script>
<!---Body--->
<form name="clickonce" method="post" action="">
<input type="button" name="oneclick" value="Submit" onclick="disableClick(this.form)">
</form>
No Reviews to show
