Quantcast
Channel: What's default dataType of jquery's ajax and get methods? - Stack Overflow
Browsing latest articles
Browse All 3 View Live

Answer by T.J. Crowder for What's default dataType of jquery's ajax and get...

It's right there in the documentation:dataType (default: Intelligent Guess (xml, json, script, or html))The type of data that you're expecting back from the server. If none is specified, jQuery will...

View Article


Answer by Nikhil Batra for What's default dataType of jquery's ajax and get...

If data type is not specified, jQuery will try to infer it based on the MIME type of the responsedataType (default: Intelligent Guess (xml, json, script, or html))

View Article

What's default dataType of jquery's ajax and get methods?

I need to know the default value of dataType of $.ajax() and $.get()?It's json or html or others?

View Article
Browsing latest articles
Browse All 3 View Live




<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>