What's the error message that you are receiving? Reading through the code
I'd imagine that you would receive a 'parsererror', which seems appropriate.

--John


On Wed, Jul 22, 2009 at 3:30 PM, Justinvh <justi...@gmail.com> wrote:

>
> Can someone explain me the reasoning that if a dataType is specified
> as JSON and the response code is say a 204 (NO CONTENT), that it would
> error. The way it looks, the code is expecting JSON back, but since
> there is no JSON, it fails.
>
> The documentation however says that error is "A function to be called
> if the request fails." - Which makes me think that the actual request
> fails, not that the data parsed failed.
>
> Maybe it's me, but it seems a bit confusing.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-dev@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=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to