Results 1 to 3 of 3

Thread: what are the codes to reset information?? HELP NEEDED!!

  1. #1

    Thread Starter
    Member
    Join Date
    Jul 2006
    Posts
    58

    Resolved 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.

  2. #2
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: what are the codes to reset information?? HELP NEEDED!!

    Code:
    <input type="reset">

  3. #3
    PowerPoster eranga262154's Avatar
    Join Date
    Jun 2006
    Posts
    2,201

    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
  •  



Click Here to Expand Forum to Full Width