ShadowIce Posted January 15, 2010 Share Posted January 15, 2010 How can I make this code disable the submit button once it has been pressed, then if the user hits back or GOES back, it will re-enable it again? <SCRIPT LANGUAGE="JavaScript" TYPE="text/JavaScript"> function formControl(submitted) { if(submitted=="1") { commentForm.Submit.disabled=true alert("Thanks for your comments!") } } </SCRIPT> Thanks! ShadowIce~ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.