I guess it wouldn't be a problem. Like anything else, it should be tested.
Actually, the JavaScript event handlers are part of the HTML 4.01 spec
which is good for compatibility.
I hate the concept of needing to test the browser type. I just try to
avoid code that depends on a specific browser.
Mark Carruth wrote:
>I think the className property is pretty well supported by most
>browsers, and if it weren't, it shouldn't create much of a problem - if
>you wanted to make it a little more advanced, you could just write a
>function that checked the browser type before attempting to change the
>property - not difficult stuff.
>
>