Home >Web Front-end >JS Tutorial >What is the reason why jQuery query data returns object and string_jquery

What is the reason why jQuery query data returns object and string_jquery

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-05-16 17:26:08988browse
Copy code The code is as follows:

$.post("queryTIciptBaseAuxType",{},function(data) {
The data returned here is an obejct object
}
$.post("queryTIciptBaseAuxType",function(data){
The data returned here is a string
}

The difference is that there is a {} missing in the middle. It only shows the result but not the reason. Welcome to try it!
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn