jQuery ajax() function is ignoring dataType parameter in Firefox jQuery ajax() function is ignoring dataType parameter in Firefox ajax ajax

jQuery ajax() function is ignoring dataType parameter in Firefox


How does the HTML response look? If it doesn't already, I would try and make sure that the response starts with a doctype declaration on the first line, as in <!doctype html>.

With a bit of luck, this could bring Firefox' content type detection onto the right track.


Alright, so you can try "HTML" instead of "html".