Execute code when page load ready or page is being visible through back button
<p>I was wondering, how I can use JQuery, to execute a same code, when either a page is loaded ready, or a page is visible to user due to back button clicked?</p>

<pre><code>$(document).ready(function(){
    // Work only first time page loading.
    // How about when user click on back button and come to this HTML page?
    alert('You c this page, as it is either first time loading, or user click on back button');
});
</code></pre>
