PHP Mail Script, Popup window, and window size.

Discussion in 'Web Design and Development' started by ryanvalle, Nov 10, 2009.

  1. ryanvalle macrumors member

    Jun 14, 2009
    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?
  2. ryanvalle thread starter macrumors member

    Jun 14, 2009
    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.

Share This Page