It was really strange because i have this code for months working fine but since the last week i can't use it anymore. The code was always the same:
$.getJSON("http://maps.googleapis.com/maps/api/distancematrix/json?origins="+origin+"&destinations="+destinations+"&mode=walking&language=es-ES&sensor=false", function(datos) {
alert("hello");
// code
}
});
I can not even see the "hello" alert. But i can see the json code, this is an example: Example
So, which may be the problem?