The Code is as follows:
Copy codeThe Code is as follows:
untitled document
click
Where ajax6.asp isCopy codeThe Code is as follows: Response. Write ("{name: 'Peter ', age: 18 }");%>
Why can't I get it ?, I want to obtain the json of
The Code is as follows:Copy codeThe Code is as follows: untitled document click Where ajax6.asp isCopy codeThe Code is as follows:Response. Write ("{name: 'Peter ', age: 18 }");%> Why can't I get it ?, I want to obtain the json of asp.Key and
In jQuery, getJSON is often used to call and obtain a remote JSON string and convert it to a JSON object. If it is successful, the callback function is executed. The prototype is as follows:JQuery. getJSON (url, [data], [callback]) loads JSON data
A common Getjson in jquery is to invoke and get a remote JSON string, convert it to a JSON object, and, if successful, execute a callback function. The prototype is as follows:Jquery.getjson (URL, [data], [callback]) loads JSON data across domains.
$. Get (), $. post (), $. ajax (), $. getJSON () in Jquery, and jquery. post
This article describes $. get (), $. post (), $. ajax (), $. the usage of getJSON () is summarized in detail. For more information, see getJSON.
Details about Jquery Ajax
A common Getjson in jquery to invoke and get a remote JSON string, convert it to a JSON object, and execute the callback function if successful. The prototype is as follows:
Jquery.getjson (URL, [data], [callback]) loads JSON data across
The code is as follows:
Copy Code code as follows:
Untitled Document
click
where ajax6.asp is
Copy Code code as follows:
Response. Write ("{name: ' Peter ', Age:18}");
%>
In jQuery, getJSON is often used to call and obtain a remote JSON string and convert it to a JSON object. If it is successful, the callback function is executed. The prototype is as follows:
JQuery. getJSON (url, [data], [callback]) loads JSON data
In jQuery, getJSON is often used to call and obtain a remote JSON string and convert it to a JSON object. If it is successful, the callback function is executed. The prototype is as follows:
JQuery. getJSON (url, [data], [callback]) loads JSON data
$. GetJSON () is an asynchronous ajax transmission function. The following section describes how to use $. getJSON () in jquery to implement cross-origin requests. I hope this method will be helpful to you.
In jQuery, getJSON is often used to call
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.