Today a workmate was working on a third-party video player integration for a set-top-box and found in their documentation an example like this:
<a id="say_hello">Hello</a>
<script type="text/javascript">
say_hello.onclick = function() { alert("Hello world") }
</script>
I just suspected it was something related only with CE-HTML but tried it on Google Chrome and worked aswell.
Since when is it possible to access DOM elements this way?