javascript - How to get innerHTML from one specify child ELEMENT -
all:
what want is:
<div id="container"> <div class="unwanted"></div> <div class="unwanted"></div> <svg><rect></rect></svg> <div class="unwanted"></div> <div>
how can innerhtml of #container svg, is:
"<svg><rect></rect></svg>"
what want outerhtml of svg element not accessible in way. here
is idea of how svg content.
Comments
Post a Comment