The data passed is a JSON, i can't receive it using this
$.getJSON('http://agrimainfotech.com/test/json/json.php?isbn=9789381626344', function(data) {
alert(JSON.stringify(data));
});
I was able to use the same for another url and it works.
$.getJSON('http://salespump.pumpstationstudios.com/app/services/getemployees.php', function(data) {
alert(JSON.stringify(data));
});
What is the difference between both the JSON passed and what should i do to make the first url work. I get an array in the server and then i use json_encode
to make it in JSON format. but still this dosen't work.