Ticket #8565 (closed bug: duplicate)
'input:text' selector not finding input elements with no type attribute
|Reported by:||fasteater||Owned by:|
As recently as 1.4.3 $('input:text') would find input elements with no type attribute (type=text is the default if no type is defined), but after upgrading to 1.5.1 that is no longer the case.
FYI - this is the selector I now have to use: $('input:text, input:not([type])')
This repros for me in FF3.6 and Chrome 10.0.648.134. IE7 and IE8 work as expected (for a change).
Test case: http://jsfiddle.net/KJL8q/