Nivin Rai Nivin Rai - 10 months ago 31
jQuery Question

How do I use :not and find () together in jQuery

Is it possible to have :not and find() together, i tried in many ways but in vain .
I basically need to select iterate through all the children of a particular div without tabindex attribute.


<script src=""></script>
<div id='div1'>

<span tabindex='1'>123</span>


Use $('#div1').find(':not([tabindex])')