/ Published in: HTML

Prevent people from resubmitting a form by accident
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<script type='text/javascript'> <!-- document.write("<INPUT TYPE='button' NAME='Submit' VALUE='Submit Secure Order' onClick=\"if(this.value == 'Submit Secure Order') this.form.submit(); this.value = 'Working...Please Wait.';\">"); // --> </script> <noscript> <INPUT TYPE='submit' NAME='Submit' VALUE='Submit Secure Order'> </noscript>
Comments
