Skip to main content

Bug Tracker

Side navigation

#813 closed enhancement (invalid)

Opened January 15, 2007 06:39PM UTC

Closed January 15, 2007 10:23PM UTC

Enhance filter(Function) to pass index

Reported by: joern Owned by:
Priority: minor Milestone:
Component: core Version:
Keywords: Cc:
Blocked by: Blocking:

By passing the index as an argument to the filter callback, you could do something like this:

$(...).filter("id", function(i) {
  return "foobar" + i;

Can be quite useful (see mailing lis, "Update to 1.1 question" by Olaf Bosch) and should be very easy to implement.

Attachments (0)
Change History (1)

Changed January 15, 2007 10:23PM UTC by joern comment:1

resolution: → invalid
status: newclosed

already supported