Javascript advanced: know the current node?
Posted
by Martin
on Stack Overflow
See other posts from Stack Overflow
or by Martin
Published on 2010-06-02T03:24:07Z
Indexed on
2010/06/02
3:33 UTC
Read the original article
Hit count: 163
Hi
I need to know if it is possible the current execution node? Ej:
..html
<script id="x"> //
console.log(document.currentNode.id); // << this must return "x"
</script>
..html
thanx
© Stack Overflow or respective owner