Opened 12 years ago
Closed 12 years ago
#7495 closed bug (invalid)
Array fields name (name=sel[]) selector broken in 1.4.4
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | 1.5 |
Component: | unfiled | Version: | 1.4.4 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Code $('input[name=sel[]]') work fine from 1.3.x, but broken in 1.4.4
Test case width 1.4.4 alerts 0, but with 1.4.3 alerts 2:
<input name="sel[]" value="1"/> <input name="sel[]" value="2"/> <script type="text/javascript" src="http://code.jquery.com/jquery-1.4.4.min.js"></script> <script type="text/javascript"> $(function(){ alert($('input[name=sel[]]').length); }) </script>
I can reproduce bug on Windows 7, in FF 3.6.12, Chrome 7, Opera 10.63. In IE8, where is no bug, it works fine.
Change History (2)
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Quotes are mandatory:
Note: See
TracTickets for help on using
tickets.
Test case in jsFiddle - http://jsfiddle.net/kSTN9/