Javascript question

you can know the id or the name just printing it like
a.id or a.name..
but you have to call the function passing the element like

function pippo(a) {
alert(a.id);
alert(a.name);
}

and the calling:
<... onmouseover="pippo(this)" ....>
 
Back
Top