I'm developing a page for my company's intranet. Here's what I'm trying to do. From the main page, users will open a pop-up window where they ask and question or submit a comment. They they click a button that sends the message, using the mailto action.
So far, no problem.
However, when they click the button, I want the pop-up window to close, and a new popup window to open. (The new window will say something like, "Thanks for sending your comment, and someone will get back to you soon.") In the new window, there will be a Close button. The main page, of course, is still open in the background.
I have checked many sites, and researched this as much as I can, but I cannot find a script that says, "Close this page, and open this other page."
I'm sure someone has done this before. Do any of you have coding to share? Thank you in advance.