摘要:
网络基础知识学习:http://www.2cto.com/net/201304/201835.html 阅读全文
摘要:
这是jQuery里常用的2个方法。他们2者功能是完全不同的。 测试1 测试2如果我们使用find()方法:var$find=$("div").find(".rain");alert($find.html());将会输出: 测试1如果使用filter()方法:var$filter=$(... 阅读全文
摘要:
将jQuery对象缓存起来把jQuery对象缓存起来 就是要告诉我们 要养成将jQuery对象缓存进变量的习惯。var $active_light = $("#traffic_light input.on"); $active_light.bind("click", function(){ });... 阅读全文