title: Jquery calling function on hashchange
body: <p>I have 2 questions </p>
  
  <ol>
  <li><p>I am using the hashchange plugin .... so I want to know would a function as below, be called everytime a hashchange occurs... because I have something like that in my code and the code function apparently doesnt seems to be called </p>
  
  <pre><code>$(document).ready(function()
  {
      // function here
  });
  </code></pre></li>
  <li><p>On the other have if I remove the hashchange as in If i make <a href="http://abc.com/a.htm#http://abc.com/b.htm" rel="nofollow">http://abc.com/a.htm#http://abc.com/b.htm</a>  as <a href="http://abc.com/b.htm" rel="nofollow">http://abc.com/b.htm</a> 
  the code works fine</p></li>
  </ol>
  
  <p>the problem is the structure of my pages is a bit different .... here is the fiddle with the page structure that explains on a higher level what I am trying to achieve <a href="http://jsfiddle.net/vBKWd/9" rel="nofollow">jsfiddle.net/vBKWd/9</a> ... on hash change jus the div c on my page 1 gets replaced by page 2 and vice versa .... and the js function that I have shown below is getting called only once and not after hashchange</p>
  
  <p>Or is therre any way I can bind the function with the div so that whenever the div is replace the function get called?</p>