I cant figure out why the this alert() part below is not working when I call it from $.getJSON???
function parseInfo(data)
{
alert("getJSON worked");
}
Firebug says I connecting to the server with a 200 OK code
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
$.getJSON('getData.php', {'data_id' : 'mysql_data'}, parseInfo);
});
function parseInfo(data)
{
alert("getJSON worked");
}
</script>
</head>
<body>
<form action="getData.php" method="get">
Name: <input type="text" name="fname" />
<input type="submit" />
</form>
</body>