how to select all childs other than a element
Posted
by santose
on Stack Overflow
See other posts from Stack Overflow
or by santose
Published on 2010-03-26T20:10:13Z
Indexed on
2010/03/26
20:13 UTC
Read the original article
Hit count: 292
jQuery
|JavaScript
I have a element which contains 3 child. let says
<div class="parent">
<div class="firstChild">firstChild</div>
SecondChild
<ul><li>thrid child</li></ul>
</div>
In the example I need to select first 2 childs and not the UL. how to do through jquery.
© Stack Overflow or respective owner