Code: Select all
getElementID("<tag">).appendNode(daysleft);
I put the ElementID on the
Code: Select all
<text>
http://pastebin.mozilla.org/2648490
Target SVG:
http://pastebin.mozilla.org/2649264
Code: Select all
getElementID("<tag">).appendNode(daysleft);
Code: Select all
<text>
Code: Select all
getElementID("<tag>").appendNode(daysleft);
Code: Select all
<text id="text123" style="font ... " x=100 y=100> A sample text </text>