Hi,
I'm trying to reset the values of a form on submission. I tried the following exactly
My document's name is abc.cgi the form's name is myForm
supposedly this is the standard format
<FORM name="myForm" onSubmit="document.myForm.content.value=''">
so I tried the above exactly, as well as:
<FORM name="myForm" onSubmit="abc.cgi.myForm.content.value=''">
but it doesn't work.
What do I need to change to make this work.
If you know another way to reset a form without the button please tell me.
Thanks in advance.
I'm trying to reset the values of a form on submission. I tried the following exactly
My document's name is abc.cgi the form's name is myForm
supposedly this is the standard format
<FORM name="myForm" onSubmit="document.myForm.content.value=''">
so I tried the above exactly, as well as:
<FORM name="myForm" onSubmit="abc.cgi.myForm.content.value=''">
but it doesn't work.
What do I need to change to make this work.
If you know another way to reset a form without the button please tell me.
Thanks in advance.