title: Onclick change url using jquery
body: <p>I am trying to change a url using jquery.</p>
  
  <p>So once the button is clicked it will change the parent url but it will not redirect.</p>
  
  <p>For example, If the url is,</p>
  
  <p><a href="http://www.xyz.com" rel="noreferrer">http://www.xyz.com</a> then it will become <a href="http://www.xyz.com/abc" rel="noreferrer">http://www.xyz.com/abc</a> but will not be redirected.</p>
  
  <p>My Code:</p>
  
  <pre><code>$('.clickme').click(function () {
      window.location.hash = 'xyz';
  });
  </code></pre>
  
  <p>Is it at all possible?</p>
  
  <p>Please suggest.</p>
  
  <p>JSfiddle : <a href="http://jsfiddle.net/squidraj/Tn8BW/3/" rel="noreferrer">http://jsfiddle.net/squidraj/Tn8BW/3/</a></p>