4 ms·
It's an old browser feature. I think the idea was so you could easily reference other elements in inline-HTML event handlers (onclick= etc.). Personally I fin
by neckro23 11y ago
It's an old browser feature. I think the idea was so you could easily reference other elements in inline-HTML event handlers (onclick= etc.).
Personally I find it handy for messing around in jsfiddle and the like:
<pre id="out"></pre>
[...]
out.innerHTML += some_result;