jquery .load() does not get variable
<p>i have this code</p>

<pre><code>$(document).ready(function () {
    $('a').click(function(e) {
        e.preventDefault();
        url = $(this).attr('href');
        $("body").load(href);
    });
});
</code></pre>

<p>But it does not work. Nothing loads. The only thing that works is <code>e.preventdefault()</code></p>

<p>Am I doing something wrong?</p>
