title: How to trigger different functions on hash change based on hash value with jQuery?
body: <p>I'm using <a href="http://benalman.com/projects/jquery-hashchange-plugin/" rel="nofollow">Ben Alman</a>'s <code>jQuery</code> <code>hashChange</code> event plugin.
  the hash part looks like this:</p>
  
  <pre><code>#x=1&amp;y=2&amp;z=3
  </code></pre>
  
  <p>I already have functions that parse it <code>getHashPart(key)</code> and <code>setHashPart(key)</code>.</p>
  
  <p>I would like to have a function that would allow to register with the change of only a specific part of the hash.
  I would use it as such (I guess...):</p>
  
  <pre><code>$(window).hashchange('x',function(new_value_of_x) {do something x related;});
  $(window).hashchange('y',function(new_value_of_y) {do something y related;});
  </code></pre>
  
  <p>How would I register such a function with jQuery?
  anything similar exists?</p>
  
  <p>Thanks!</p>