469,625 Members | 1,091 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,625 developers. It's quick & easy.

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
Jul 20 '05 #1
1 17698


Frederik S wrote:
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.


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
http://www.faqts.com/knowledge_base/.../17226/fid/616

--

Martin Honnen
http://JavaScript.FAQTs.com/

Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Dodo | last post: by
3 posts views Thread by reneeccwest | last post: by
1 post views Thread by Gerard Cany | last post: by
5 posts views Thread by gregg | last post: by
4 posts views Thread by Marcia Gulesian | last post: by
3 posts views Thread by Yourself | last post: by
2 posts views Thread by Offm | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.