Very nice and it will definitely help newcomers.

A note though about "cache" in "jsonp" mode: if you use the automatic
fetching of a callback name on the secondary question mark, the name being
generated, browsers will never ever cache (how could they? The content is
actually different)... and since $.ajax cannot properly handle two
concurrent jsonp requests with the same callback name, you're pretty much
screwed.

Also, regarding the xhr object being undefined in callbacks, I worked around
this in $.jsonp with the use of a fake xhr object. If so much of the jsonp
logic hadn't been hardcoded into $.ajax, I would probably have just provided
my own fake xhr implementation but it wasn't practical since I wanted to
take control over callback naming in the url.

Anyway, very nice matrix.

2009/11/12 Dave Methvin <dave.meth...@gmail.com>

> Re:  http://groups.google.com/group/jquery-dev/msg/70b913e489c9fc8f
>
> Here is what I came up with. I built this mostly by looking at the
> source to ajax.js so let me know if there is anything that looks
> wrong:
>
>
> http://spreadsheets.google.com/ccc?key=0Aj5JJFjq9rZDdC1OQjJOcmtjTmtBUVdXV2NPczE2R2c&hl=en
>
> Does anyone see any errors, or have suggestions on different
> presentation?
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "jQuery Development" group.
> To post to this group, send email to jquery-...@googlegroups.com.
> To unsubscribe from this group, send email to
> jquery-dev+unsubscr...@googlegroups.com<jquery-dev%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/jquery-dev?hl=.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-...@googlegroups.com.
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=.


Reply via email to