Firefox, jQuery and the case of the Document response

I recently tweeted that I was having this problem:
As you can see something’s not right there, Chrome is not getting anything back from my AJAX request (or at least a falsey value) where as Firefox seems to be having a Document object.
I was stum…


This content originally appeared on Posts on LINQ to Fail and was authored by Posts on LINQ to Fail

I recently tweeted that I was having this problem: As you can see something’s not right there, Chrome is not getting anything back from my AJAX request (or at least a falsey value) where as Firefox seems to be having a Document object. I was stumped. Why are you seeing two different responses from the exact same bit of code? So the response we’re getting back has a 0 content length and that was my first point of call, something must be causing the browsers to behave differently when you’ve not got any content.


This content originally appeared on Posts on LINQ to Fail and was authored by Posts on LINQ to Fail


Print Share Comment Cite Upload Translate Updates
APA

Posts on LINQ to Fail | Sciencx (2013-05-07T00:00:00+00:00) Firefox, jQuery and the case of the Document response. Retrieved from https://www.scien.cx/2013/05/07/firefox-jquery-and-the-case-of-the-document-response/

MLA
" » Firefox, jQuery and the case of the Document response." Posts on LINQ to Fail | Sciencx - Tuesday May 7, 2013, https://www.scien.cx/2013/05/07/firefox-jquery-and-the-case-of-the-document-response/
HARVARD
Posts on LINQ to Fail | Sciencx Tuesday May 7, 2013 » Firefox, jQuery and the case of the Document response., viewed ,<https://www.scien.cx/2013/05/07/firefox-jquery-and-the-case-of-the-document-response/>
VANCOUVER
Posts on LINQ to Fail | Sciencx - » Firefox, jQuery and the case of the Document response. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2013/05/07/firefox-jquery-and-the-case-of-the-document-response/
CHICAGO
" » Firefox, jQuery and the case of the Document response." Posts on LINQ to Fail | Sciencx - Accessed . https://www.scien.cx/2013/05/07/firefox-jquery-and-the-case-of-the-document-response/
IEEE
" » Firefox, jQuery and the case of the Document response." Posts on LINQ to Fail | Sciencx [Online]. Available: https://www.scien.cx/2013/05/07/firefox-jquery-and-the-case-of-the-document-response/. [Accessed: ]
rf:citation
» Firefox, jQuery and the case of the Document response | Posts on LINQ to Fail | Sciencx | https://www.scien.cx/2013/05/07/firefox-jquery-and-the-case-of-the-document-response/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.