Code:
window.onload = function() {
window.addEventListener('click', function() { testClick(event) }, false);
window.addEventListener('mouseover', function() { testMove(event) }, false);
}
The above works in Chrome, Opera and IE. It does not work in FF.
I think FF supports the keyword 'event' in a tag such <body onclick="testClick(event)" /> and not in the quoted code.
How do I fix the JS for all browsers?
Thanks,
--Glen