How to get the data appended through SVG root
I am working on SVG with javascript, i开发者_如何学Python want to know how to get the data, which is append by the SVG root, from where i can access that all data, any help will be awesome. Thnxs Reagards: Zain
Have you tried document.getElementById("yourNode");? This should work pretty much the same like in HTML, whether it's a standalone SVG or if you're mixing SVG with XHTML.
精彩评论