javascript browser window properties

Out of context: Reply #3

  • Started
  • Last post
  • 3 Responses
  • fifty500

    alright i figured it out :P

    problem was i wanted a popup confirmation window to appear when i clicked "submit" at the end of a form, then the PHP script would determine what kind of confirmation it would display, either "incomplete", "invalid", or "confirmed"...

    so in the form tag, i placed the action pointing towards the PHP script, an an "onSubmit" tag with a javascript opening a window with the appropriate window properties. it was such an obvious solution, but since it's friday afternoon it took me a little longer than it should have to figure it out :P

View thread