Happy New Year 2010 everyone!
I have a question on JavaScript events.
Lets say I have an event attached to one element, but I want to update another element when it fires.
var el = document.getElementById("el"),
el1 = document.getElementById("el1");
el.onmouseover = function() {
// Here I want to update for example the innerHTML property
// of el1 but el1 is undefined in this scope
}
How do I achieve this?