Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q290 Can you use javascript to reset your form elements when a user clicks on their Browser Back Button?

You are here: irt.org | FAQ | JavaScript | Form | 9 | Q290 [ previous next ]

After the form definition:

<form name="myform">
blah blah blah
</form>

Include a bit of JavaScript to reset the form:

<script language="JavaScript"><!--
document.myform.reset();
//--></script>

Feedback on 'Q290 Can you use javascript to reset your form elements when a user clicks on their Browser Back Button?'

©2018 Martin Webb