Bug Tracker

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#4904 closed enhancement (fixed)

Allow a function for setter for css(), val(), html(), and text()

Reported by: yehuda Owned by: yehuda
Priority: major Milestone: 1.4
Component: core Version: 1.3.2
Keywords: Cc:
Blocked by: Blocking:

Description

css(), val(), html(), and text() should take a function in place of an actual value. The function should be called for each element (with the element as "this"), and the result should be treated as though the result was supplied in place of the function.

Change History (2)

comment:1 Changed 14 years ago by yehuda

Resolution: fixed
Status: newclosed

Fixed in #6425 #6427 #6429

comment:2 Changed 14 years ago by yehuda

Make that r6425 r6427 r6429

Note: See TracTickets for help on using tickets.