I already have 3 Javascripts working that I trigger within my <td>'s like this:
<td onMouseOver="mover(this)" onMouseOut="mout(this)" onClick="mclick('test.html')">Test Button</td>
I have now coded up 1 Javascript function to handle all 3 events (using if statements).
But how do I trigger the calling of that function inside my <td>'s? I was hoping there would be some kind of general “onEvent” but haven’t found one:
<td onEvent="mousebutton( this, event, 'test.html' )" >Test Button</td>
(I’m assuming this is an HTML question since my Javascript per se is working. But do please let me know if this would be more appropriate in another forum.)
Thanks!