Welcome to WebmasterWorld Guest from 54.234.45.10

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)

Preferred Member

10+ Year Member

joined:May 24, 2002
posts:482
votes: 0


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.

Thanks,
Ross

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

Preferred Member

10+ Year Member

joined:May 24, 2002
posts:482
votes: 0


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

Comments still appreciated.

Ross

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

Preferred Member

10+ Year Member

joined:May 15, 2001
posts:462
votes: 0


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.
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members