摘要: jQuery的链式操作,什么是链式操作呢? 我们来看看,本来应该写成这样子的:$(".stripe tr").mouseover(function(){ $(this).addClass("over");})$(".stripe tr").mouseout(function(){ $(this)... 阅读全文
posted @ 2011-06-01 09:17 Aaron li 阅读(445) 评论(0) 推荐(0) 编辑
摘要: $("h3 a", patch);简单讲,是 $('#parentID').find('childNode') 的偷懒写法$("h3 a", patch) 等于 patch.find('h3 a')$("h3 a",$(this)) 等于 $(this).find('h3 a')直接用 find 会快些,因为偷懒的写法最终还是调用 find 阅读全文
posted @ 2011-06-01 09:16 Aaron li 阅读(198) 评论(0) 推荐(0) 编辑
摘要: request对象 : --客户端的请求信息被封装在request对象中,通过它才能了解到客户的需求,然后做出响应。它是HttpServletRequest类的实例。 response对象 : --response对象包含了响应客户请求的有关信息,但在JSP中很少直接用到它。它是HttpServle... 阅读全文
posted @ 2011-06-01 08:03 Aaron li 阅读(434) 评论(0) 推荐(0) 编辑