Bug Tracker

Opened 8 years ago

Closed 8 years ago

#9816 closed bug (invalid)

("#checkbox").each(function(){}); doesn't stop on particular condition

Reported by: gauravs@… Owned by:
Priority: low Milestone: None
Component: core Version: 1.4.2
Keywords: Cc:
Blocked by: Blocking:

Description

I use this ("#checkbox").each(function(){}); when there are multiple instances of checkbox in my form. if I check a particular condition it should stop at that particular condition on return false statement. but it moves to next checkbox

Change History (1)

comment:1 Changed 8 years ago by dmethvin

Component: unfiledcore
Priority: undecidedlow
Resolution: invalid
Status: newclosed

There can only be one element with id="checkbox" so if your example is shown there correctly the document would be invalid -- duplicate IDs. Please ask for help on the forum, and if there is consensus you have uncovered a jQuery core bug then create a new ticket with a specific description and test case. Thanks!

http://forum.jquery.com

Note: See TracTickets for help on using tickets.