title: how to use (location.hash) and (.trigger) to navigate?
body: <p>i have 5 (div)s all hidden and i use .click function to hide 4 of them and show 1..(1 for each button)
  for example :
  the html :</p>
  
  <pre><code>&lt;div id="div1"&gt;hi&lt;div&gt;
  &lt;div id="div2"&gt;hello&lt;div&gt;
  </code></pre>
  
  <p>the jquery:</p>
  
  <pre><code>$("#b1").click(function(){
      $("#div1").hide(500);
      $("#div2").show(500);
  });
  $("#b2").click(function(){
      $("#div2").hide(500);
      $("#div1").show(500);
  });
  </code></pre>
  
  <p>when i click the b2 the url change to > home#div2
  i used location.hash and .trigger
  so when the user enter home#div2 in the url the jquery active the b1.click</p>
  
  <pre><code>if(location.hash == "#div2"){
      $("#b1").trigger("click");
  }
  </code></pre>
  
  <p>logicly it should hide div1 and show div2 
  but it shows nothing even when i click b1 or b2 manually..</p>
  
  <p>what i am doing wrong ?!</p>