Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > xmlhttp-request and POST ?

Reply
Thread Tools

xmlhttp-request and POST ?

 
 
raptor
Guest
Posts: n/a
 
      04-22-2005
http://kb.mozillazine.org/XMLHttpRequest
As read in many places i found and tested xmlhttp request...
the problem is that it works with GET, but I want to use
it with POST... i.e it has to be attached on onSUbmit or some such
and send the form-data in some way, get the result and display it..

Does anyone done something like this (i.e.with POST), if yes can you
post the solution
or example code..

It has to be posible, 'cause it seems google uses it in gmail.

tia

 
Reply With Quote
 
 
 
 
Dietmar Meier
Guest
Posts: n/a
 
      04-22-2005
raptor wrote:

> Does anyone done something like this (i.e.with POST), if yes can you
> post the solution or example code..


I implemented that in a Windows utility for W3C-Validation of markup
documents, the contained code is MSIE-only, but once understood, it
should be easily ported to Geckos. I just did not find the time (and
didn't have the need) yet to extract the code into a all-purpose JS
library for post requests. If there are some people enough interested
in this, I will see if I find some time for that next week.

The mentioned utility can be found here [1], the mentioned code can be
found after installation in %ProgramFiles%\W3C-Validator\validator.hta
(functions "getBoundaryForContent()", "formatRequestData()", and
"doValidatorRequest()"). Sorry for not commenting the code at all, I
stopped working on that when the XP bug mentioned in [2] was fixed.

[1] http://www.innoline-systemtechnik.de/dhgm/validator/
[2] http://www.w3.org/QA/2005/01/Validator-IE_WinXP_SP2

ciao, dhgm
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Doing a serverside post and ending up at post server John Dalberg ASP .Net 8 09-23-2004 09:17 PM
Modelsim post place and route/Post Translate issues Sridhar Hegde VHDL 2 09-13-2004 02:43 PM
Post post post. Shel-hed Computer Support 2 11-08-2003 07:41 AM
asp.net C# payflowlink post and capturing silent post khawar ASP .Net 2 10-28-2003 08:41 PM
Re:Post about the post sent earlier about blooming NTL and their number change with gearbox......Help?? It's happened! ziggy Computer Support 26 10-22-2003 07:11 PM



Advertisments