Re: AJAX form post

Alex Vincent <[email protected]> Sat, 11 Nov 2006 11:25:19 -0800
Newsgroups gmane.comp.mozilla.devel.xml
Message-ID <[email protected]>
hairbo wrote:
> I've done a little digging online, but all I've found so far suggests
> that doing FORM posts via XmlHttpRequest is just hideously ugly--you
> have to loop over all elements on the page, then build out a key/value
> string (just like a querystring), and then pass that as part of the
> "send()" function.  All of the code I saw made it look just godawful.
> Are there any good tutorials out there for this sort of thing?  Is it
> really godawful to work with XmlHttpRequest and form posts?

Yes, it's really awful.  :)

I wrote a serverpost widget for XUL some years back; you can find it 
through http://xulwidgets.mozdev.org/ .

Alex Vincent
Santa Cruz, CA, USA