Can Reset using Button?

Results 1 to 3 of 3

Thread: Can Reset using Button?

  1. #1
    Lynn Maharet Guest

    Default Can Reset using Button?

    Hi all,<BR><BR>I have this button Reset...of button type..<BR>I want to clear the fields in my form when the user press the button.. i did this by capturing the onClick event then set the fields to "" but it doesn&#039t work.Does it mean I have to Submit the page first? Pls advise....thank u very much

  2. #2
    Suganraj Guest

    Default RE: Can Reset using Button?

    on click event of that button please<BR>use the below code<BR>formname.reset() that&#039s it will clear all the fields inside the form.<BR>Thanks

  3. #3
    Join Date
    Dec 1969

    Default RE: Can Reset using Button?

    I think this is more of an HTML question but nevermind eh?!<BR><BR>why don&#039t you just set type="reset"?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts