Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What does Mailto: return??

Status
Not open for further replies.

carmo

MIS
Dec 15, 2002
92
0
0
CA
When using a mailto form, a standard security message pops up indicating if you would like to proceed or cancel. I would like to perform different actions if the user clicks on "OK" or "Cancel". Is there anyway with JavaScript to determine what is returned when "OK" or "Cancel" is clicked so that I could code how I want the page to react to that?? Thanks in advance.
 
"mailto:" does not return anything, as it is not a javascript function. it is a pseudo-protocol alerting the browser to use the client's mail program (if installed)

there is no way to tell with js whether the user clicked OK or Cancel, or if they even have a mail client.


=========================================================
-jeff
try { succeed(); } catch(E) { tryAgain(); }
 
Thank you for the response.....at least it I have an answer now.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top