Why am I getting an error for this piece of code?:
function catchevent() { eventSrcID=(event.srcElement)?event.srcElement.id:\'undefined\'; eventty
In Firefox, the first param passed to a handler is the event. So a cross browser piece of code would check for a param and use it if present. If not present, it would default to window.event, the IE way.