What does jQuery do differently when you specify the datatype as html as opposed to text. I haven’t seen a difference but there must be some subtleties I’m missing. If I wish to return a portion of an html page as a string does it matter which I use?
Share
So really the only difference is if you have script tags.
source: http://api.jquery.com/jQuery.ajax/