$(document).ready(function() {
$('form#search').bind("submit", function(e){
e.preventDefault();
$('#content').html('');
var query1 = urlencode($('input[name="user_a"]').val()); //userA
$.getJSON('http://twitterank.com/api/get?id='+query1+'&devkey=8909d7273e0ab578bde409571747fc9e&callback=?',
function(data1){
alert('JSON data string is: '+data1.status); });
this is a code that takes json feed from twitterrank.com and displays it on the html page..
now the api of twitterank says that the url http://twitterank.com/api/get?id=Anand_Dasgupta&devkey=8909d7273e0ab578bde409571747fc9e (click to see) will give back the json data...the devkey has been provided by twitterank itself...
but in the code the alert message doesnt respond when i run
Any help will be deeply appreciated
Thanks
Anand