I have a function when I click on the marker:

function onMarkerClick (e) {
         id1 = "something";
         $ .post ("content.php", {id_a: id1}, function (result) {
             alert (result);

The function works when I click the marker, but I get nothing from the content.php page

  • To get de var in php I use: code$id_x=$_REQUEST["id_a"]; echo $id_a; code But I get nothing. Thanks – oliver_33 Feb 8 '19 at 16:35
  • You should ask this question on stackoverflow.com. – geekornolife Feb 8 '19 at 20:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.