jquery更改属性值(jQuery.getJSON() – jQuery API)
导读:Example: Load the JSON data from test.js, passing along additional data, and access a name from the returned JSON data. $....
Example: Load the JSON data from test.js, passing along additional data, and access a name from the returned JSON data.
$.getJSON("test.js",{ name:"John", time:"2pm"},function(json){
alert("JSON Data: "+ json.users[3].name);
});
创心域SEO版权声明:以上内容作者已申请原创保护,未经允许不得转载,侵权必究!授权事宜、对本内容有异议或投诉,敬请联系网站管理员,我们将尽快回复您,谢谢合作!