Using the JavaScript event
If you have a function, you can add the following to the top, to capture the element that caused it to fire.
if (navigator.appName == "Microsoft Internet Explorer"){
ev = window.event.srcElement;
}
else{
ev = this;
}
You can then refer to it else where, like getting the elements ID.
element_id = document.getElementById(ev.id);
[Click to add or edit comments])
Please prepend comments below including a date