Nivin Rai Nivin Rai - 2 years ago 92
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.

Answer Source

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

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


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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download