what are the codes to reset information?? HELP NEEDED!!
i have this in mind.
scenario: after filling up a registration form, the user will surely decides not to continue with the registration. therefore, we need a reset button to reset all the information that has been entered earlier.
can i know what are the codes to reset the information when they click onto the reset button?
Re: what are the codes to reset information?? HELP NEEDED!!
Code:
<input type="reset">
Re: what are the codes to reset information?? HELP NEEDED!!
Can we call the reset() on the document itself.
Code:
<SCRIPT LANGUAGE=JAVASCRIPT><!--
document.myform.reset();
//--></SCRIPT>
myform stand for the form definition.