Thursday, 29. May 2008
Having given it a bit of thought I think that this problem stems from a slight confusion as to how DOM nodes' attributes work.
You would expect javascript code to execute when you apply it to an attribute:
someNode.onclick = "alert('foo');";
And you expect this to work because this is exactly what you do in your HTML. And [...]
Read more...
Sent at:
23:22
.
Author:
Borgar .