[Javascript] mailto form - what is wrong?

Filipiak, Bob (Contractor) filipiab at atsc.army.mil
Wed May 2 12:06:13 CDT 2001


OK, but don't come back later and ask: "How can I make sure the client has
email configured?"
 
You haven't told the browser to submit the form because you are sending them
to another URL after the timeout. Maybe someone else can tell you how you
can submit a for and then change the page location on the same page.
 

Bob Filipiak (Contractor)
MCP 

-----Original Message-----
From: Adagilson BB Silva [mailto:adagilson at npd.ufpe.br]
Sent: Wednesday, May 02, 2001 1:31 PM
To: javascript at LaTech.edu
Subject: Re: [Javascript] mailto form - what is wrong?


ok, i want to rely on mailto. i want to do this only in javascript/html. 
...and this is not running properly: 
<form ... 
onSubmit="setTimeout('self.location=\"newUrl.html\"',50);return true;"> 

why 


"Filipiak, Bob (Contractor)" wrote: 


 Don't rely on client side mailto: Submit your form to a server side process
to do the email and then redirect from the server. Bob Filipiak (Contractor)

MCP 

-----Original Message----- 
From: Adagilson BB Silva [ mailto:adagilson at npd.ufpe.br
<mailto:adagilson at npd.ufpe.br> ] 
Sent: Wednesday, May 02, 2001 12:06 PM 
To: javascript at latech.edu 
Subject: Re: [Javascript] mailto form - what is wrong? 
 
so, how can i do both things, sending the form and redirect the user to a
new page? 
thanks for any help 
a. 

"Filipiak, Bob (Contractor)" wrote: 


  

For on thing you are sending the visitor to a new page in your onsubmit
function therefore the form never gets submitted. 


Bob Filipiak (Contractor) 
MCP 


-----Original Message----- 
From: Adagilson BB Silva [ mailto:adagilson at npd.ufpe.br
<mailto:adagilson at npd.ufpe.br> ] 
Sent: Wednesday, May 02, 2001 11:06 AM 
To: javascript at latech.edu 
Subject: [Javascript] mailto form - what is wrong? 


what is wrong?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20010502/4d815993/attachment.htm>


More information about the Javascript mailing list