Ticket #1601 (closed bug: invalid)
Square bracket [] selectors doesn't work!
| Reported by: | Greendrake | Owned by: | |
|---|---|---|---|
| Priority: | critical | Milestone: | 1.2.1 |
| Component: | core | Version: | 1.2 |
| Keywords: | Cc: | ||
| Needs: | Review |
Description
Assume we have this example html body:
<body> <div><div></div></div> </body>
and this JS:
$(function(){
alert($('div[div]').length);
});
Weird enough, but with jQuery 1.2 it says "0"!
Change History
Note: See
TracTickets for help on using
tickets.
