开发者

How to get the data appended through SVG root

开发者 https://www.devze.com 2023-02-14 23:19 出处:网络
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 Reag

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消