How to get the text after the # symbol in a link?
<p>I have a simple link with a hashtag in it. ie:</p>

<pre><code>&lt;a class="page_navigation" href="#something"&gt;click&lt;/a&gt;
</code></pre>

<p>On clicking this, I would like to just end up with the 'something' part (minus the hash) in a var.</p>

<p>So far I have</p>

<pre><code>$('.page_navigation').click(function(e)
{
    e.preventDefault();
    var href = $(this).attr('href');
});
</code></pre>

<p>Obviously I just end up with '#something' in my href var with the above code, and I understand I could do some kind of regex (not sure how yet) to strip the #, but I wonder if there is an easier way to access this part of the href I'm unaware of, without having to go through some find and replace code.</p>

<p>Any ideas?</p>

<p>Note: I also know I could store the 'something' in a data tag, but I'm trying to keep this code as DRY as possible.</p>
