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

WBOY
Release: 2016-05-16 17:26:08
Original
942 people have browsed it
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!
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template