Opened May 06, 2011 08:25PM UTC
Closed May 09, 2011 10:09PM UTC
Trying to select elements with the :reset pseudo returns 0 elements as of jQuery 1.6
See this fiddle for various test-cases: http://jsfiddle.net/gonchuki/cryjW/
This is a major regression and happens both in context $foo.find(':reset') and global queries $(':reset')
The only workaround as you see in the fourth example in the fiddle is to query with a CSS2 attribute selector.
This is specific to when buttons are used with a type="reset", easy to fix either way.