what event do i use for browser back button, i want to prevent a user from clicking submit button twice, say he clicked once,then pressed browser back button, now i want to hide the submit button. pl. help thanks. dhriti.
You need to use a cookie in order to show or hide the button. When the user submits the form. The cookie is set. WEhen the page loads you check for the cookie and hide the button if it exists.
Server Side Solution:
Keep track of the users session. If they submitted it before, do not process. This is the only secire way since cookies can be deleted and JavaScript can be disabled!
Eric
If a regular clown is funny, then a larger clown would be funnier. Math. Verified by this tiny ad:
a bit of art, as a gift, the permaculture playing cards