如何使用jquery ajax comand检索某些div?
我的问题很简单,如何使用jquery ajax comand检索某些div?
$.ajax({
url: "test.html",
success: function(){
$(this).addClass("done");
}
});
比如用负载?
$('#targetDiv').load('http://localhost/test.html #sourceDiv');
weixin_33695450
2011/04/10 12:36- html
- ajax
- jquery
- 点赞
- 收藏
- 回答