![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
jquery
jenny6j
这个作者很懒,什么都没留下…
展开
-
jquery对象
jquery对象访问: 1. each(callback):以每个匹配的元素作为上下文来执行一个函数,return false;停止循环;return true;跳至下一个循环。 来个实例 : $("img").each(function(){ $(this).toggle("example"); }) 2.size()转载 2013-06-14 10:28:58 · 613 阅读 · 0 评论 -
attr disabled 属性用法
用了$("#other_category").attr('disabled',' disabled'); 使控件不可用后要想控件可用就要用. $("#other_category").removeAttr('disabled'); 或 $("#other_category").attr('disabled',' ');原创 2013-06-20 15:57:32 · 2364 阅读 · 1 评论