title: How to force reloading a page when using browser back button?
body: <p>I need to somehow detect that the user has pressed a browsers back button and reload the page with refresh (reloading the content and CSS) using jquery.</p>
  <p>How to detect such action via jquery?</p>
  <p>Because right now some elements are not reloaded if I use the back button in a browser. But if I use links in the website everything is refreshed and showed correctly.</p>
  <p><strong>IMPORTANT!</strong></p>
  <p>Some people have probably misunderstood what I want. I don't want to refresh the current page. I want to refresh the page that is loaded after I press the back button. here is what I mean in a more detailed way:</p>
  <ol>
  <li>user is visiting page1.</li>
  <li>while on page1 - he clicks on a link to page2.</li>
  <li>he is redirected to the page2</li>
  <li><strong>now (Important part!) he clicks on the back button in browser because he wants to go back to page1</strong></li>
  <li>he is back on the page1 - and now the page1 is being reloaded and something is alerted like &quot;You are back!&quot;</li>
  </ol>