Load function is not working after satisfying if condition in jQuery
<p>In the code below, the if condition is working as I have checked with an alert but load function is not working.</p>

<p>My code:</p>

<pre><code>$("a").click(function() {                            
    hreff = $(this).attr('href');
    if(hreff == "something" )
    {
        $("#dump").load("someurl");
    }
});
</code></pre>
