I'm having trouble setting an onmousedown function in firefox. It works fine in IE 7 but when I attempt to call the function in firefox I am getting an "event is not defined" error.
document.getElementById("statusbar").onmousedown = function (){enableResize(event, 'window')};
I tried using
document.getElementById("statusbar").addEventListe ner("mousedown", function (){enableResize(event, 'window')}, true);
but that didn't seem to work correctly either. Does anyone know how I can accomplish this? Thanks!
-Ryan