Bug Tracker

Ticket #3998 (closed bug: worksforme)

Opened 6 years ago

Last modified 6 years ago

find() method only return the first match element

Reported by: shiuyuan Owned by:
Priority: major Milestone: 1.3.2
Component: unfiled Version: 1.3.1
Keywords: Cc:
Blocking: Blocked by:

Description

When I Used find() method, e.g. $(this).find('span.myClass'), it only returns the first element that matches the selector eventhough they are more than that.

Change History

comment:1 Changed 6 years ago by dmethvin

  • need changed from Review to Test Case

Please provide a simple test case that reproduces the problem. Thanks!

comment:2 Changed 6 years ago by dz

comment:3 Changed 6 years ago by leeahoward

I was having this same issue. If you are having this issue and you are using the validation plugin, try updating the plugin.

see:  http://groups.google.com/group/jquery-en/browse_thread/thread/ae61896a809f6cf0?pli=1

Validation Plugin:  http://bassistance.de/jquery-plugins/jquery-plugin-validation/

comment:4 Changed 6 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to worksforme

I think this was a plugin issue and not a jQuery issue.

Note: See TracTickets for help on using tickets.