Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ryanvalle

macrumors member
Original poster
Jun 14, 2009
86
3
Hi,
So at the moment, I have a form which links to a php script which sends the form contents to my email. I have a popup window that comes up after the send button is hit to open up a "your message is sent" confirmation.

What I want to do is put in a javascript or somekind of code which allows me to open the confirmation window as a popup set to 520x320 pixels. How would I go about do this?
 
cancel that. Found a solution.

i set the php to load back to the same contact page which forces a reset on the php script while on the form, i added a javascript on a "onSubmit" tag.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.