The jquery document contains a description of the Ajax method and its dataType:
'Default: Intelligent Guess'
how does jquery guess the best data type for this method if nothing is selected for it?
if at the output of the requested url via ajax there is html and script both to be considered? html or script like dataType?
source share