Re: AJAX form post
Dylan Schiemann <[email protected]> Mon, 20 Nov 2006 11:47:11 -0800
| Newsgroups | gmane.comp.mozilla.devel.xml |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 This is where toolkits like Dojo make life easier. - -Dylan hairbo wrote: > 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 > > _______________________________________________ > dev-tech-xml mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-tech-xml > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFYgY/8nLgh/JJsxERAuIDAKCA5T5QgkPR/B76SZFFUfVZ4jhPoQCfUzv2 UcDpe6+C98WryVOWaAdhfV4= =kisw -----END PGP SIGNATURE-----