jQuery与Ajax的应用

XMLHttpRequest对象 XHR

Ajax核心XMLHttpRequest对象:

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

xhr.send(null);

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

jQuery对Ajax进行了封装:

$.load();

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

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

posted @ 2014-08-06 21:09  小-黑  阅读(100)  评论(0编辑  收藏  举报