Event aliasing?
Posted: Thu Apr 14, 2005 11:43 am
Can I make an alias for a given (JavaScript) event?
Such as...
make onMouseover have the alias onMO... so I could do
I'm considering implementing something into an app I'm working on which would have hundreds of event handlers in the tags so this could trim the code down a bit....
Thanks
Maybe n00b knows ?
Such as...
make onMouseover have the alias onMO... so I could do
Code: Select all
<span id="e;doodah"e; onMO="e;doThis()"e;>....Thanks
Maybe n00b knows ?