By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,605 Members | 2,153 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,605 IT Pros & Developers. It's quick & easy.

Text/Plain Form Submission

eddydesigns
P: 1
Project: A human resource simple form that gets emailed to a general email box. I have a script in place (onClick=document.location) to redirect to the Thank you page. However, when the default email pops up (in this case, Outlook) it prepares to send the email and then asks the user if they want to send it. Yes there is a "yes and no" button there.

This is the problem. You click either button it takes you to the Thank you page. I just want to code the no button to stay at the same location.

Dudes, any solutions? I would appreciate it. :eek:
Aug 31 '06 #1
Share this Question
Share on Google+
1 Reply


acoder
Expert Mod 15k+
P: 16,027
Use a confirm dialog. Only change window.location if it returns true.
May 12 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.