i have an application calling a jquery function, like this:
$.getJSON('test.php',{dest:2},function(data){
alert(data);
});
Well, the test.php is like this:
<?php echo json_encode('Test'); ?>
On FF returns an alert with ‘Test’, but on IE return an alert without anything.
anyone have any idea?
solved, follow what I did:
replaces the call
for this
like this works on IE and FF