P.S. FYI I provided a solution to this problem using setTimeout(), and it worked...
`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`
Robert
robkdavis@h...
`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`
>From: "Fabrice vanderhaeghen"
>Reply-To: "javascript"
>To: "javascript"
>Subject: [javascript] Re: how can I clear form information after I click submit button
>Date: Sat, 15 Feb 2003 18:17:56 +0100
>
>Well my opinion is for all synchronization problems timers are not the
>sollution, rethink the code to avoid them.
>
>The problem is that the onsubmit event is triggered BEFORE the form is
>really submitted => so indeed all code inside will happen BEFORE the submit
>executed.
>
>To avoid this try something like:
>
>
>
>enctype="text/plain">
>
>
>
>
>
>The onbefore submit is not used but onclick which trigger a submit =>
>the submit is executed AND after the next code line is executed.
>
>"Joanne han" wrote in message
>news:260989@j...
> >
> > there is a form in my page for submit some information to my email. how
> > can I after click submit bar, and clear text information.
> > I did like below,the 'contactname' text clear is fast than submit to
> > email,so I can not get the 'contactname' value in the email.
> >
> >
> >
> >
> > > > onSubmit='return SubmitForm()'>
> >
> >
> >
> >
> >
> >
> >
> >
>
>
>
>---
The new MSN 8: smart spam protection and 2 months FREE*