I would like to know all possible attributes of an element in JS.
I did :
s = document.getElementById("idSvg");
r = s.attributes;
alert(r.length);
...
...
<svg width="450" height="250" id="idSvg">
...
</svg>
But the result is 3. Seems to be the number of attributes I use (width, height and id), but I would like to list ALL the possible attributes an SVG element may have.
Thanks for helping, Rodg