Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

http posts (or gets) & javascript

Can client-side javascript issue an http post?



6:06 pm on Jun 4, 2003 (gmt 0)

10+ Year Member

I want to post a message to a partner site using client side javascript. I realize it would make more sense to issue my post server-side, but for reasons too long and boring to cover here, that's not an option.

I'm thinking that just like an image preload type deal, I should be able to send an http get header with my values in a query string. Or better yet, an http post.



6:35 pm on Jun 4, 2003 (gmt 0)

10+ Year Member

Looks like I may be able to use the MSActiveX control XMLHTTP, obviously not cross browser though.

Comments still appreciated.



8:25 pm on Jun 4, 2003 (gmt 0)

10+ Year Member

I havent really looked at it but javascript has a submit method so you may be able to set up a form with the appropriate method (get or post) and then use the javascript to submit the form.

Featured Threads

Hot Threads This Week

Hot Threads This Month