Get reference to the event object in IE
Ideal way:
el.onclick = function( e ) {
// Handle the event "e"
};IE way:
el.onclick = function( e ) {
var evt = e || window.event;
// Handle the event "evt"
}
Ideal way:
el.onclick = function( e ) {
// Handle the event "e"
};IE way:
el.onclick = function( e ) {
var evt = e || window.event;
// Handle the event "evt"
}