Monday, April 6, 2009

How to get ID of element that triggered an event with class name

function overfade(evnt)
{
var obj = Event.element(evnt);
alert(obj.id);
}

No comments: