jQuery.. how to append text to the end of existing text?
<p>Simple question... maybe? Basically what I want to do is insert text to the end of a URL loaded on the page. So on my page I would have something like...</p>

<pre><code>&lt;a href="myurl.html"&gt;My Url&lt;/a&gt;
</code></pre>

<p>And what I want is for text to be appended after the file extension on a click event. So after the click it should look like..</p>

<pre><code>&lt;a href="myurl.html#something"&gt;My Url&lt;/a&gt;

$('a').click(function(){
  //add text to url
});
</code></pre>
