hi all!

say you have a button on your HTML page called 'Test', if you wanted to popup a message when it was clicked and you didnt want to use onClick="..." you could do this....

sub Test_onclick()
msgbox("you clicked the button")
end sub

does anyone know if there is a translation of this to JS - ie. raising an event, without having to use the inline onclick on onmouseover etc.

TIA!