var ComplexElement = $("<div class='volume_slider'><input class='volume_slider' type='text' value='' style='width:200px' /></div>");ComplexElement = $(".volume_slider",ComplexElement); //
我想选出所有第一个或所有的 样式class名称为volume_slider的元素,可selector只在范围内查找,不查找当前节点,有什么办法可以做到吗
ComplexElement = $(".volume_slider", ComplexElement).add(ComplexElement);
ComplexElement = $(".volume_slider",ComplexElement);只选出div里面的input,而没有包括div
我想不仅查找ComplexElement的子元素,也对当前元素进行判断