HTTP post inside JavaScript

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Frederik S

    HTTP post inside JavaScript

    Hi all,

    Is it possble to do a HTTP post request inside JavaScript? - That is I don't
    want to use a HTML FORM,
    but need a JavaScript to post a value to a PHP script not encoding the
    parameters in a URL.

    Regards,

    Frederik


  • Martin Honnen

    #2
    Re: HTTP post inside JavaScript



    Frederik S wrote:[color=blue]
    > Is it possble to do a HTTP post request inside JavaScript? - That is I don't
    > want to use a HTML FORM,
    > but need a JavaScript to post a value to a PHP script not encoding the
    > parameters in a URL.[/color]

    It depends on the host environment JavaScript is used in. Inside a
    browser IE5+/Win and Netscape 6+ provides objects to perform HTTP
    requests, see


    --

    Martin Honnen


    Comment

    Working...