Skip to main content

Bug Tracker

Side navigation

#3973 closed bug (invalid)

Opened January 23, 2009 04:02PM UTC

Closed August 08, 2009 02:17AM UTC

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:

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 (6)

Changed January 24, 2009 06:30AM UTC by johal comment:1 shows that the the basic selector works just fine with 1.3.1

Please edit the sample ( to show the faulty behavior, and post the new jsbin url back here.

Changed January 25, 2009 07:14AM UTC by johal comment:2

Replying to [comment:1 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.

Changed January 26, 2009 11:39AM UTC by matas comment:3

seems similar to the case:

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.

Changed January 26, 2009 03:10PM UTC by mrandall comment:4


That was the case. I was using version 1.4. Upgrading seems to have fixed all problems. Thanks!

Changed January 30, 2009 11:07AM UTC by matas comment:5

the ticket should be considered invalid/closed then.

Changed August 08, 2009 02:17AM UTC by dmethvin comment:6

resolution: → invalid
status: newclosed