
Vagharshak Tozalakyan - 2015-12-19 19:51:24 -
In reply to message 10 from Samuel Bistak
Your var_dump() call will output to AJAX response. You can see the output in Firebug or Chrome console.
Also you can get the response in JS:
$.post("map.php", {lat: lat, lng: lng}, function(response) {
alert(response);
}, "text");