Popup open/close, form submittal, and redirection in one
This is what I'm trying to do:
1) User clicks a link that opens a popup window
2) They click a check box under an agreement form and click "I agree"
3) Which then closes the popup window and redirects them to a url offsite
The problem with this I found out, is that the page I redirect them to, is another website, that when the user clicks a link "return to ______ website", they end up getting redirected back to the url of the html page (agreement text) loaded in the popup window, not the website! Not good.
So the solution I'm thinking, would be to do everything in one html code??? Or will that not work? Any other solutions/ideas?