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
APA
Posts on LINQ to Fail | Sciencx (2023-03-27T06:40:50+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 2023-03-27T06:40:50+00:00,<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 2023-03-27T06:40:50+00:00]. 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 2023-03-27T06:40:50+00:00. 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: 2023-03-27T06:40:50+00:00]
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/ | 2023-03-27T06:40:50+00:00
https://github.com/addpipe/simple-recorderjs-demo