ajax中get,post,getJSON,getScript之间的区别,
get原型 (url,data,function,type)
post原型 (url,data,function,type)
1,GET用法
$.get("www.cnmibee.com",{name:'mib'},function(response,status,xhr),"html")
2,POST用法
$.POST("www.cnmibee.com",{name:'mib'},function(response,status,xhr),"xml")
3,getJSON用法
$.getJSON("cnmibee.json")
4,getScript用法
$.getJSON("cnmibee.js")