I'm currently trying to use the DOM2 Event interface, it works nicely in Mozilla but Internet Explorer hates me for doing that
Whats the most standards-compliant way.....
Whats the most standards-compliant way.....
.....to handle events in Internet Explorer and Mozilla?
I'm currently trying to use the DOM2 Event interface, it works nicely in Mozilla but Internet Explorer hates me for doing that
I'm currently trying to use the DOM2 Event interface, it works nicely in Mozilla but Internet Explorer hates me for doing that
You will experience a strong urge to do good; but it will pass.
*sight*
Thanks for the links TonyT.
Looks like I'll have to make use of that isIE variable afterall (I was trying to stay away)
Since IE doesn't have the event object passed as a parameter for the function.
Is there a way to this
in javascript, that is. set an event handler while passing unique arguments to the function.
Then I can automate event handler attachment using data from Arrays and stuff, without having to do it manually within the html.
did this make sense?
Looks like I'll have to make use of that isIE variable afterall (I was trying to stay away)
Since IE doesn't have the event object passed as a parameter for the function.
Is there a way to this
Code: Select all
<div id="blah" onMouseOver="bleh(this, 'whatever');">etc. etc.</div> Then I can automate event handler attachment using data from Arrays and stuff, without having to do it manually within the html.
did this make sense?
You will experience a strong urge to do good; but it will pass.
No one has any right to force data on you
and command you to believe it or else.
If it is not true for you, it isn't true.
LRH
and command you to believe it or else.
If it is not true for you, it isn't true.
LRH