title: Give alert on second time page loads using Jquery
body: <p>I want to give a small alert that page is reloaded after refreshing the entire page.</p>
  
  <p>This is what I have done to refresh the page:</p>
  
  <pre><code> window.onunload = function () {
        alert("Page is refreshed");
  }
  </code></pre>
  
  <p>And Onbody load I can give alert as </p>
  
  <pre><code>window.onload = function () {
      alert("Page is Loaded"); //&lt;--This I dont want as only 
                               //when the page is loaded it gives me an alert.
   }
  </code></pre>
  
  <p>But I want to know that page is reloaded completely after refresh is done.</p>
  
  <p>If page is refreshed by pressing F5 or clicking refrsh button or clicking on browsers back button I am giving alert as shown above but I would like to know how to give an alert after page is completely refreshed.(ie after refreshing the page is again reloaded after completely reloaded I need to give another alert) </p>