Re: AJAX form post
"hairbo" <[email protected]> 20 Nov 2006 10:04:04 -0800
| Newsgroups | gmane.comp.mozilla.devel.xml |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <[email protected]> |
Alex, Thanks for the reply. I just now saw it. I searched the URL you provided, and couldn't find the widget you referred to. I'm disappointed to hear that posting data via XmlHttpRequest is so ugly, and I'm surprised as well. It sure looks like lots of websites out there are throwing around large quantities of data via XmlHttpRequest form posts (gmail, etc), so it seems odd that it would be so unpleasant to use. It also sounds like you wrote something that works with Mozilla only. Is that correct? I'm hoping to find a cross-browser solution, or at least good clues on how to develop a cross-browser solution. Thanks, Ben Mueller Alex Vincent wrote: > 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