Hi all, I'm trying to get json working using jQuery 1.4.1 but I'm getting a null object.
Here's an example of not working code: (using $.ajax which has the 'success:' )
$.ajax({
url: 'http://isohunt.com/js/json.php',
dataType: 'json',
success: function(data) {
alert('Worked');
alert(data);
}
});
What is wrong with this code?
Thanks in advance