onmousemove event not working in Chrome
<p>I have coding for onmousemove event working well in Firefox and IE but not in Chrome:</p>

<pre><code>         var mouse;
         function storeMouse(e) {
             if (!e) e = window.event;
             mouse = { clientX: e.clientX, clientX: e.clientY };
         }

         function test(e) {
             alert(mouse.clientX);
             if (mouse.clientX &lt; 150) {
                 var agree = confirm("Are you sure to leave this page");
                 if (!agree) {
                     return false;
                 }
                 else {

                 }
             }
         }
</code></pre>

<p></p>
