$.get jquery url on localhost
<p>Why is it that the url in example one works with <code>$.get</code>, but the URL in example two doesn't?  Is there a way to make example two work?</p>

<h1>Example One</h1>

<pre><code>$.get("http://localhost/magic/pages/tcgqueryoutput.php",
    function(data, statusTxt){
       $('#tcg_query_output').html(data);
    });
</code></pre>

<h1>Example Two</h1>

<pre><code>$.get("tcgqueryoutput.php",
    function(data, statusTxt){
       $('#tcg_query_output').html(data);
    });
</code></pre>
