Need help finding what is wrong with my code for a super simple $getJSON call
<p>I cant figure out why the this alert() part below is not working when I call it from $.getJSON???</p>

<pre><code>function parseInfo(data)
    {
       alert("getJSON worked");
    }
</code></pre>

<p>Firebug says I connecting to the server with a 200 OK code</p>

<p> </p>

<pre><code>&lt;!DOCTYPE html&gt;
 &lt;html lang="en"&gt;
 &lt;head&gt;
   &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"&gt;
   &lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js" type="text/javascript"&gt;&lt;/script&gt;
   &lt;script type="text/javascript"&gt;
       $(document).ready(function(){
                 $.getJSON('getData.php', {'data_id' : 'mysql_data'}, parseInfo);
                 });


function parseInfo(data)
{
    alert("getJSON worked");
}

   &lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;


&lt;form action="getData.php" method="get"&gt;
Name: &lt;input type="text" name="fname" /&gt;
&lt;input type="submit" /&gt;
&lt;/form&gt; 


&lt;/body&gt;
</code></pre>
