Opened 13 years ago
Closed 13 years ago
#5771 closed feature (fixed)
Add Support for .foo(function(i, val))
Reported by: | john | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.4 |
Component: | core | Version: | 1.4a2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Right now some methods just get 'i' - they should all get 'i' (like .each) and should get the previous value, where possible.
Change History (1)
comment:1 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Type: | enhancement → feature |
Note: See
TracTickets for help on using
tickets.
Fixed (and over the next quite a few patches): http://github.com/jquery/jquery/commit/600d3145386a9dca8143918cc3e339168f886a63
The following methods have this new functionality: css, attr, val, html, text, append, prepend, addClass, removeClass, toggleClass, and offset.