#7270 closed bug (duplicate)
.find works wrong when searching by value attribute
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | blocker | Milestone: | 1.4.4 |
Component: | selector | Version: | 1.4.3 |
Keywords: | find attribute selector value regression | Cc: | |
Blocked by: | Blocking: |
Description (last modified by )
html:
<form name="f" id="f"> <input name="f1" type="text" value="" /> <br/> <input name="f2" type="text" value="" /> <br/> <input name="f3" type="text" value="" /> <br/> </form>
js:
$('#f').find('input[value=""]').length
always returns 3 (even if all fields are filled)
in 1.4.2. everything is ok
Change History (7)
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
Keywords: | find attribute selector value added |
---|---|
Milestone: | 1.5 → 1.4.4 |
Priority: | undecided → high |
Status: | new → open |
This can be reproduced in several browsers. I also checked and made sure that this was a regression. It works as expected in 1.4.2
comment:3 Changed 12 years ago by
Description: | modified (diff) |
---|
comment:4 Changed 12 years ago by
Component: | unfiled → selector |
---|
comment:5 Changed 12 years ago by
Keywords: | regression added |
---|---|
Priority: | high → blocker |
comment:6 Changed 12 years ago by
Resolution: | → duplicate |
---|---|
Status: | open → closed |
Note: See
TracTickets for help on using
tickets.
additional:
test case
http://jsfiddle.net/VNN2T/9/
brouser: firefox 3.6.10 (Win)