Assign dynamic div id from js var
<p>I am having trouble selecting a <code>div</code> with jQuery after assigning the <code>id</code> to a Javascript variable:</p>

<pre><code>$(function() {
    $(".do").live("click",function() 
        {

        var id = $(this).attr("id");

        $.ajax({
           //reload div using js var id 
           $('id').fadeOut('fast').load('http://example.com/get.php').fadeIn("slow");

            });

        return false;
            });
});
</code></pre>

<p>When I call a static div it works just fine like this:</p>

<pre><code>$('#staticdiv').fadeOut('fast').load('http://example.com/get.php').fadeIn("slow");
</code></pre>

<p>How can I select a <code>div</code> from a Javascript variable containing its <code>id</code>?</p>

<p>*EDIT<br>
Here is an example if the divs:
<br> Button to engage reload</p>

<pre><code>&lt;a href="" class="do" id="12"&gt;click to reload&lt;/a&gt;
</code></pre>

<p>DIV to reload: </p>

<pre><code>&lt;div id="12"&gt;to be refreshed&lt;/div&gt;
</code></pre>

<p><br>keep in mind the "12" us dynamic and could be any variable.</p>
