TRlite
08-18-2003, 12:44 AM
The code below clears just one select form at a time. How can I set it to clear multiple forms?
<BODY onload="document.forms[0].reset()">
<BODY onload="document.forms[0].reset()">
|
Click to See Complete Forum and Search --> : Reset MULTIPLE FORMS with onload? TRlite 08-18-2003, 12:44 AM The code below clears just one select form at a time. How can I set it to clear multiple forms? <BODY onload="document.forms[0].reset()"> Fang 08-18-2003, 01:27 AM for(var idx=0; idx<document.forms.length; idx++) { document.forms[idx].reset(); } TRlite 08-18-2003, 01:45 AM Thank You! webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |