homepage Welcome to WebmasterWorld Guest from 54.161.147.106
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
http posts (or gets) & javascript
Can client-side javascript issue an http post?
RossWal




msg:1484805
 6:06 pm on Jun 4, 2003 (gmt 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

 

RossWal




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

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

Comments still appreciated.

Ross

Robber




msg:1484807
 8:25 pm on Jun 4, 2003 (gmt 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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved