摘要:
$(document).ready(function() { $("#reset").click(function(){ $("form").each(function(){ this.reset(); }) })});这是Jquery入门教程中的一个例子,自己在录入代码时错把 this 写成了 $(this) 。程序就出错了经对比发现 this 是DOM元素,而$(th... 阅读全文
posted @ 2009-10-22 16:37
LearnPHP
阅读(225)
评论(1)
推荐(0)
浙公网安备 33010602011771号