+ 8
How to change text in svg graphics by javascript?
4 Answers
+ 4
You can get a reference of your <text> node svg element as any html element (using getElementById() and co') and access to the read/write property 'textContent':
https://code.sololearn.com/WL2B0YsEk3SF
+ 5
@Ankur Dutta Jha:
It's a shame to set 'best answer' mark at your own answer, all the most when you have received at least one answer helping you ^^
+ 5
Sorry
I forget that I see the above code in your answer.
Forgive me, really
+ 4
Svg_TextTag_id.textcontent=input_id.value