Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how do you enable the back button (aka: stop it from resubmitting form

Status
Not open for further replies.

blueindian1

Programmer
Apr 24, 2001
150
US
here'w what i want to do. a user submits a form which posts some information. after the postback, they click a link. then, they click the back button. but you get the page expired message. i want them to be able to use the back button.

can i do some sort of for release or something so that if they click back it won't try to resubmit the form?
 
what you really want is to refresh the page after submitting the form and if that's the case try something life this:
<script language=&quot;javascript&quot;>
function returnReset(){
document.Form1.reset();
}
</script>
<body onload=&quot;javascript:returnReset();&quot;>
</body>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top