[thelist] Form Reset on Refresh

Erik Mattheis gozz at gozz.com
Sun May 5 21:11:01 CDT 2002


Heh, I tend to hesitate before answering questions addressed to
experts, but but think calling something like the following might
work for you:

function resetForms() {
   for (i=0; i b< document.forms.length; i++) {
     document.forms[i].reset();
   }
}

<body onLoad="resetForms()">

>Hello Experts,
>Sometimes a user needs to refresh a page containing one or more forms.
>If the users has changed the values of different form elements, they are
>not RESET on refreshing the page. Is there anyway to reset the form(s)
>automatically on refreshing of the page?
>Thank you,
>Syed Zeeshan Haider.
>http://syedzeeshanhaider.faithweb.com/

--

__________________________________________
- Erik Mattheis

(612) 377 2272
http://goZz.com/

Through June 15
9am - 3pm M-F:
(952) 838 7698

__________________________________________



More information about the thelist mailing list