jquery: can you do an ajax request in $(window).unload()?
<p>I am absolutely terrible at logging my hours.</p>

<p>So my idea is to have a browser shortcut that i open when i am starting work.</p>

<p>Then when i am finished close it.</p>

<p>This will then to an ajax request to a php script that will update my hours for me.</p>

<p>To do this.</p>

<p>Can i do an ajax request in <code>$(window).unload()</code>?
or will the browser close before this completes?
and, will the php script on the other end run?</p>
