13 2 / 2012
[note]Javascript event handling
One wants to register function event in Javascript
use
document.getElementById(“eee”).onclick = functionname;
Be alarmed! There is no parentheses with the registered function!
If you really want to do something with assigned parameter function, use anonymos function instead.