So, I am trying to change a text in a svg class from code. I tried various stuff like document.getElementById(element).innerHTML and else but it seems to not work.
this is the code I am having:
well, I fixxed it with using jQuery..
Well, your description of the problem is very much lacking any details. I can look into my crystal ball and see that the SVG tag has no id attribute so getElementById() won't work. Or are you trying to change some other element text?
Sorry, switching to jQuery didn't really fix anything. Yes, you got it working but you really didn't fix anything.
Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)