Getting 'xlink:href' attribute of the SVG element dynamically using JS in HTML DOM

后端 未结 1 1568
北海茫月
北海茫月 2020-12-06 02:04

I have a construction:

相关标签:
1条回答
  • 2020-12-06 02:31

    The correct usage is getAttributeNS('http://www.w3.org/1999/xlink', 'href');

    0 讨论(0)
提交回复
热议问题