Modify ↓
Ticket #753 (closed enhancement: fixed)
Advanced Setting of Attribute/CSS Values
| Reported by: | john | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.1a |
| Component: | core | Version: | 1.1a |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
It would be great if you could do: .attr("value", function(){
return this.id;
});
In the same vein: .attr("value", "${this.id}");
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.
