Clear fields

Results 1 to 2 of 2

Thread: Clear fields

  1. #1
    Lynn Maharet Guest

    Default Clear fields

    Hi all,<BR><BR>Is there a method in jscript or vbscript when a button is clicked clears all the field? I have this button when clicked will clear all the fields. One of the fields has an initial value. so when i change that particular field and click the button it actually gives me the initial value instead of clearing it.<BR><BR>i used<BR>&#060;script language="vbscript"&#062;<BR> document.frmname.reset<BR>&#060;/script&#062;<BR><BR>Pls help...thanks

  2. #2
    Join Date
    Dec 1969

    Default RE: Clear fields

    document.forms[&#039formName&#039].elements[elName].value = &#039&#039;<BR><BR>j

Posting Permissions

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