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 at 16:35
  • You should ask this question on stackoverflow.com. – geekornolife Feb 8 at 20:48

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.