   Javascript DHTML Issue
  I was recently working on a jscript/DHTML window system-ish thing, when I ran into a problem.function getMouseX() { return window.event.clientX;}function getMouseY() { return window.event.clientY;}function toggleMoveState() { //... refCoordX = getMouseX(); alert(''); // for debugging purposes //...}Now the problem is that the alert(''); code and everything after it does not execute, seemingly because of the getMouseX function. Is there a reason for this? How can I remedy this?Thx in advance.   
  are you sure the problem is not that you have a single ' in the alert() call?  Shouldn't it be:alert(""); //for debugging purposesEDIT:  hmmm, i now realize that may just be a display issue on GameDev.  Well, if in fact you do have it correct, then i would ask if you get any errors on page load?  do you have debugging enabled in the browser (assuming IE since i see window.event)?  is &#106avascript being disabled because you are opening the file locally?   ;  window.event only exists in IE. Check your &#106avascript console, it should mention that.   ;  To support browsers other than IE, you should change your event handling functions to be like this:funtion EventHandler(ev){   ev = ev || window.event;   //code here}The reason is that non-IE browsers automagically send the event object to the handler, whereas IE makes you get it from window.event.-brianh   