Y
yb
Hi,
In IE I usually check for event objects in event handlers with
something like:
handler = function( e ) {
if( !e ) var e = window.event;
....
}
I am also using IE 'attachEvent' to register the event handler.
However, IE (6) passes in an empty 'e' object, and not an undefined
value. Has anyone had this problem before. I've only noticed it
recently, and I'm wondering if the windows update changed something in
IE. I'm now forced to check for both e, and the relevant property,
e.g. e && e.target
My IE version is:
6.0.2900.2180.xpsp_sp2_gdr.050301-1519
In IE I usually check for event objects in event handlers with
something like:
handler = function( e ) {
if( !e ) var e = window.event;
....
}
I am also using IE 'attachEvent' to register the event handler.
However, IE (6) passes in an empty 'e' object, and not an undefined
value. Has anyone had this problem before. I've only noticed it
recently, and I'm wondering if the windows update changed something in
IE. I'm now forced to check for both e, and the relevant property,
e.g. e && e.target
My IE version is:
6.0.2900.2180.xpsp_sp2_gdr.050301-1519