Incorrect results from .not() method

Incorrect results from .not() method


I tried to do a bit of searching before posting this, but as you can
imagine, searching for something named "not" is a bit of a
challenge...
It seems like anytime you use .not() to exclude elements using the
attribute value selector ("element[attr='value']"), it actually
excludes all the elements with the given tag name instead of just the
ones having the specified attribute value. I ran into this on a form
where I have a radio set, and I wanted to select all the form elements
except for the radio set. I had something like this:
$("#form1 :input").not("input[name='radioSetName']").each( ... );
What was happening is all the inputs were excluded, leaving just the
selects, etc. This seems pretty incorrect to me, but maybe I'm missing
something. Should I post a bug report for this? I can attach a test
page.
Regards,
Bryce Lohr