Hi,

i encounter problems with the getJSON method

when i do that:

$.getJSON("http://localhost/jas/www/rmt.php5?action=airport_state";,
{country: $(this).val()}, function(json)
{
        $.log(json);
});

nothing happends. there is even no connection trace in firebug
but

$.get("http://localhost/jas/www/rmt.php5?action=airport_state";,
{country: $(this).val()}, function(json)
{
        eval("var a = "+json);
        $.log(a);
});

works fine

php sends header("Content-type: application/json");
so thats fine to.
jquery version is 1.2.2

Any suggestions?

Martin


Reply via email to