Jquery
github@niexia
前端工程师
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
浏览器cannot read property 'msie' of undefined的解决方法
练习demo,版本升级很容易有错误…,百度和GoogleUncaught TypeError: Cannot read property 'msie' of undefined谷歌:jQuery.browser() removedThe jQuery.browser() method has been deprecated since jQuery 1.3 and is removed in 1.9转载 2017-09-18 17:44:54 · 9200 阅读 · 2 评论 -
Jquery $(this)
<!DOCTYPE html> <html> <head> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"> </script> <script> $(document).ready(function(){ $("p").click(function(){ $原创 2017-09-01 11:09:22 · 312 阅读 · 0 评论 -
理解Jquery插件
在实际开发工作中,总会碰到像滚动,分页,日历等展示效果的业务需求,对于接触过jQuery以及熟悉jQuery使用的人来说,首先想到的肯定是寻找现有的jQuery插件来满足相应的展示需求。目前页面中常用的一些组件,都有多种jQuery插件可供选择,网络上也有很多专门收集jQuery插件的网站。利用jQuery插件确实可以给我们的开发工作带来便捷,但是如果只是会简单使用,而对其中的原理不甚了解,那么在使转载 2017-09-20 18:40:09 · 444 阅读 · 0 评论 -
关键字this和$(this)的区别
在each()方法中,关键字this和$(this)的区别 ???比如:对每个选中的p元素执行函数function(){} 我是该这样写: $("p").each(function(){ this.hover(function(){ }); }); 还是该这样写: $("p").each(function(){ $(this).hover(function(){ }); })转载 2017-09-21 09:21:52 · 2310 阅读 · 0 评论
分享