How to save mouse coordinates onbeforeunload?
<p>I can track mouse coordinates dynamically with this</p>

<pre><code>$(document).ready(function()
{
  $().mousemove(function(e)
{
 $('p').html("X Axis : " + e.pageX + " | Y Axis " + e.pageY);
});
});    
</code></pre>

<p>With this, the numbers change on each mouse move dynamically. What I want to do is to save all coordinates. It should save it onbeforeunload. How to save all numbers ? I am thinking of append an iframe onbeforeunload like </p>

<p>save.php?coords=162x412-143x716-678x12</p>

<p>How can I do this ?</p>
