Hi,
I've got this very simple code:
<body onclick="foo(ev ent, this)">
Inside foo method in IE "this" is body object, but in FF it's window
object - at least that's what MS Script Editor and Firebug are saying.
Any ideas why it works like that?
I've got this very simple code:
<body onclick="foo(ev ent, this)">
Inside foo method in IE "this" is body object, but in FF it's window
object - at least that's what MS Script Editor and Firebug are saying.
Any ideas why it works like that?
Comment