摘要:
window.onload = function() { // do this stuff when the page is done loading};$(function() { // run this when the HTML is done downloading});(' p/p') .html('Hey World!') .css('background', 'yellow') .appendTo("body"); 阅读全文
摘要:
$(".ajax.load").load("http://www.cnblogs.com/yeer/archive/2009/06/10/1500682.html .post",function (responseText, textStatus, XMLHttpRequest){this;//在这里this指向的是当前的DOM对象,即$(".ajax.load")[0] //alert(responseText);//请求返回的内容//alert(textStatus);//请求状态:success,error//alert(XMLHttpRequest);//XMLHttpRequest对 阅读全文