views:

383

answers:

1

After instantiating Raphael text like so

var t = paper.text(50, 50, "Raphaël\nkicks\nbutt!");

how do I go about then modifying that text?

t.text = "test"; //did not work for me =/
+5  A: 

The following will do it ..

t.attr('text','new text here');
Gaby