javascript event when you hit 'back' onto the page?
<p>What event can i use to run code when a user visits another page then hits back to load my page again?</p>

<p>I wrote <code>window.onload = function() { ...</code> and it works when i hit refresh but not forward then back.</p>
