|
-
Mar 14th, 2007, 03:38 AM
#1
Thread Starter
Member
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?
Last edited by twinkie; Mar 16th, 2007 at 01:54 AM.
-
Mar 14th, 2007, 05:38 AM
#2
Re: what are the codes to reset information?? HELP NEEDED!!
Code:
<input type="reset">
-
Mar 14th, 2007, 10:40 PM
#3
PowerPoster
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.
“victory breeds hatred, the defeated live in pain; happily the peaceful live giving up victory and defeat” - Gautama Buddha
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|