$.ajax({ type: \'GET\', url: \'https://maps.googleapis.com/maps/api/place/autocomplete/json?input=san&key=apikey\', dataType: \'json\', success:function(data