Here is my code. I tried each and every possible questions and answers here in @stackoverflow but at the end unable to find out the exact solution. Any help would be really apprecaited.
$(function(){
$(".trx-location-row #trx-location").focusout(function(){
var vurl = 'https://maps.googleapis.com/maps/api/place/details/json?placeid=ChIJCQDPsq9FlDkRjdvuicUg4eo&key=AIzaSyDBgKVgYEVbQxjkbAQ8DfGplN34L0UVPIw';
$.ajax({
type: 'GET',
url: vurl,
dataType: 'jsonp',
jsonp: false,
jsonpCallback: "myJsonMethod",
success: function() {
debugger
console.log('Success!');
},
error: function() {
console.log('Uh Oh!');
},
});
});
})
;