Bug Tracker

Modify

Ticket #753 (closed enhancement: fixed)

Opened 6 years ago

Last modified 6 years ago

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

comment:1 Changed 6 years ago by john

  • Version 1.1 deleted
  • Milestone 1.1 deleted

comment:2 Changed 6 years ago by joern

  • Status changed from new to closed
  • Version set to 1.1
  • Resolution set to fixed
  • Milestone set to 1.1

Implemented in SVN. The new helper function parseSetter() may be improved (and renamed?).

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.