Found the answer: instead of tagName
, nodeName
attribute should be used.
How to get tagName for VML object?
-
27-06-2023 - |
Pergunta
VML objects in IE8 throws exception when I try to access tagName attribute. Is it possible to get it in some other way?
Sample code that raises exception:
function clickCallback(event) {
var target = event.srcElement;
target.tagName; // Here exception raised
}
Solução
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow