jQuery与Ajax的应用

时间:2014-08-06 22:50:02   收藏:0   阅读:228

XMLHttpRequest对象 XHR

Ajax核心XMLHttpRequest对象:

xhr.open("get/post","example.txt",false);

xhr.send(null);

 http://dev.yesky.com/91/2687091.shtml

jQuery对Ajax进行了封装:

$.ajax();

$.get()和$.post();

$.getScript()和$.getJSON();

jQuery与Ajax的应用,布布扣,bubuko.com

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!