title: What is the difference between "window.location.href" and "window.location.hash"?
body: <p>I learned <strong>"window.location.hash"</strong> new and tried in my jquery code instead of <strong>"window.location.href"</strong> and both of them gave same results.  </p>
  
  <p>Code is here :  </p>
  
  <pre><code>window.location.href = ($(e.currentTarget).attr("href"));
  window.location.hash = ($(e.currentTarget).attr("href"));
  </code></pre>
  
  <p>What is the difference between them?</p>