What's the difference between text and html datatypes when using jQuery's ajax()

Posted by user169867 on Stack Overflow See other posts from Stack Overflow or by user169867
Published on 2010-04-17T15:20:38Z Indexed on 2010/04/17 15:23 UTC
Read the original article Hit count: 139

Filed under:

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?

© Stack Overflow or respective owner

Related posts about jQuery