[jQuery] .is and .not don't play nice?
[jQuery] .is and .not don't play nice?
I can do this:
if ( $(this).is('label') ) {
if ( $(this).not('label:first') ) {
// do something
}
}
But not this:
if ( $(this).is('label').not('label:first') ) {
// do something
}
}
Topic Participants
jhchnc
erik.beeson
hn.campbell