jquery
与时间为伴_
这个作者很懒,什么都没留下…
展开
-
jquery 元素查找
JQUERY的父,子,兄弟节点查找方法 jQuery.parent(expr) 找父亲节点,可以传入expr进行过滤,比如$("span").parent()或者$("span").parent(".class") jQuery.parents(expr),类似于jQuery.parents(expr),但是是查找所有祖先元素,不限于父元素 jQuery.children(expr).返回所原创 2013-11-29 11:52:09 · 582 阅读 · 0 评论 -
jquery 改变下拉列表选项
//object select元素//selectValue 选中的值function selected(object,selectValue){ var children = $(object).children("option"); $(children).each(function(){ var value = $(this).val(); if(value == selectVa原创 2013-11-29 16:31:59 · 1005 阅读 · 0 评论 -
jquery 判断元素可见性
$(".more_list").is(":visible") $(".more_list").is(":hidden")原创 2014-05-04 11:09:27 · 2209 阅读 · 0 评论