getJSON('http://seminarioscorma.cl/ws_clc/ws_info.php?uid=77317', function(err, data) { if (err != null) { alert('Something went wrong: ' + err); } else { alert('Your query count: ' + data.query.count); } });