Welcome, Guest
  • Author Topic: getURL ("javascript  (Read 1841 times)

    Aaron

    • Server what's that
    • *
    • Posts: 5
      • View Profile
      • Email
    getURL ("javascript
    « on: 09/04/02, 21:03 »
    I have to use "POST" to a php file when using a javascript pop-up. Where do I put the POST in the javascript?  >:(

    Flash-db

    • Administrator
    • Systems Administrator
    • *****
    • Posts: 1876
      • View Profile
      • Flash-db.com
    Re:getURL ("javascript
    « Reply #1 on: 09/04/02, 21:29 »
    You can't use "POST" when you are opening up a window with Javascript like that.  (at least it's really difficult).

    You should use "GET" - or basically attach the variables onto the end of the Query string, ie

    www.somesite.com/someWindow.php?myVar=someValue&myOtherVar=someOtherValue...

    The 'GET' method is the same as just attaching variables/values onto the end of the query string as above.

    Flash-DB