Bug Tracker

Modify

Ticket #13094 (closed bug: fixed)

Opened 16 months ago

Last modified 16 months ago

If to jQuery#before passed function argument it should receive index of the current element in the set

Reported by: markel Owned by:
Priority: high Milestone: 1.9
Component: manipulation Version: git
Keywords: Cc:
Blocking: Blocked by:

Description

But it does not –  http://jsfiddle.net/sHqu9/

From doc –

.before( function ) A function that returns an HTML string, DOM element(s), or jQuery object to insert before each element in the set of matched elements. Receives the index position of the element in the set as an argument. Within the function, this refers to the current element in the set.

Change History

comment:1 Changed 16 months ago by markel

comment:2 Changed 16 months ago by dmethvin

  • Priority changed from undecided to high
  • Resolution set to fixed
  • Status changed from new to closed
  • Component changed from unfiled to manipulation
  • Milestone changed from None to 1.9

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.