Weese
Programmer
- Apr 3, 2003
- 17
<FORM method="post" name="MyScreen" onsubmit="return false" action="Myasp.ASP?WCI=MyScreen&WCE=MyEvent">
<A link href=" " onClick=SubmitForm()>Option</A>
See in the above case, I am explictly using submit in SubmitForm function.
But in browsers like mozilla, before the page unload javascript file expires and at the moment if the users click this link, getting error in the javascript console SubmitForm not defined, but still the page gets submitted agian.this should not happen.It should submit only through SubmitForm and if not found nothing should happen.How to do?.
href=" " is required for hand reference.
Please someone guide in this.
<A link href=" " onClick=SubmitForm()>Option</A>
See in the above case, I am explictly using submit in SubmitForm function.
But in browsers like mozilla, before the page unload javascript file expires and at the moment if the users click this link, getting error in the javascript console SubmitForm not defined, but still the page gets submitted agian.this should not happen.It should submit only through SubmitForm and if not found nothing should happen.How to do?.
href=" " is required for hand reference.
Please someone guide in this.