Opened 14 years ago
Closed 13 years ago
#3973 closed bug (invalid)
Selector now only finding 1 element with class
Reported by: | mrandall | Owned by: | |
---|---|---|---|
Priority: | critical | Milestone: | 1.3.2 |
Component: | unfiled | Version: | 1.3.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
In 1.2.6, I've been successfully using $('div.module') to find all divs on a page with the ".module" class. However, since upgrading to 1.3.1, this now only finds 1 div (there are 10 divs on the page with this class).
Unfortunately I can not post the URL here, but I can provide a link if contacted privately.
Attachments (1)
Change History (7)
Changed 14 years ago by
Attachment: | jquery-1.3.1-selector_bug.jpg added |
---|
comment:1 follow-up: 2 Changed 14 years ago by
http://jsbin.com/ogibi shows that the the basic selector works just fine with 1.3.1
Please edit the sample (http://jsbin.com/ogibi/edit) to show the faulty behavior, and post the new jsbin url back here.
comment:2 Changed 14 years ago by
Replying to johal: A small warning: You should probably use the "edit" link before hitting the "view" link with any jsbin URL. Take a look at the javascript before actually running it, since it could contain malicious code. Don't click the output tab before reviewing the code, since that also evaluates the script.
comment:3 Changed 14 years ago by
seems similar to the case: http://groups.google.com/group/jquery-dev/browse_thread/thread/62cce9cee4eea5a5
possible cause could be the old version of jquery.validate plugin which overwrites push method. if the plugin is used, update it to 1.5.1.
comment:4 Changed 14 years ago by
Matas:
That was the case. I was using version 1.4. Upgrading seems to have fixed all problems. Thanks!
comment:6 Changed 13 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Firebug screenshot 1.2.6 above, 1.3.1 below