在jQuery 1.3中也可以接受一个字符串了。
•callback:载入成功时回调函数。...•callback:载入成功时回调函数。
•type:返回内容格式,xml, html, script, json, text, _default。...•页面初次加载时不需要加载全部的javascript文件,在需要时动态加载
jQuery.getJSON(url, [data], [callback]) 通过 HTTP GET 请求载入 JSON...•callback:发送成功时回调函数。
•type:返回内容格式,xml, html, script, json, text, _default。...设置数据转换类型,例如:xml, html, script, json
// * success 成功回调
// * error 错误回调