I have a file where I want a Reset button to clear the form.
I have put
<SCRIPT LANGUAGE="JavaScript">
function clear(form) {
document.form1.wid.value="";
document.form1.heigh.value="";
}
</script>
as the script within the head codes and
<INPUT TYPE="reset" VALUE="=RESET=" onClick="clear(this.form)">
as the call within the form. The Reset isn't clearing the form. I know almost nothing about Javascripting - copied this code from a web site.
The page is - YOU HAVE TO GET TO THIS PAGE BY FIRST GOING TO and partially completing the form.
Thanks in advance.
I have put
<SCRIPT LANGUAGE="JavaScript">
function clear(form) {
document.form1.wid.value="";
document.form1.heigh.value="";
}
</script>
as the script within the head codes and
<INPUT TYPE="reset" VALUE="=RESET=" onClick="clear(this.form)">
as the call within the form. The Reset isn't clearing the form. I know almost nothing about Javascripting - copied this code from a web site.
The page is - YOU HAVE TO GET TO THIS PAGE BY FIRST GOING TO and partially completing the form.
Thanks in advance.