On Jan 21, 2008 12:56 PM, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>
>
>
> On Jan 21, 1:16 am, "troels knak-nielsen" <[EMAIL PROTECTED]> wrote:
>
> > That depends on how you use it. The assumption is, that you are
> > pulling data with doXHR. If you want to push data, you should specify
> > the method. Most other HTTP-agents also default to using GET, and only
> > use POST, when explicitly told to. (Take the browser, for example)
>
> I thought loadJSON was for pulling from server and doXHR was for
> pushing to server.  I didn't know doXHR could be used for both.
>
> I suppose you'll say that doXHR is needed when people do NOT want to
> pull data from server in JSON format?

doXHR is the primitive operation used by all XMLHttpRequest-based
operations, including loadJSON.

-bob

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to mochikit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to