On Dec 23, 10:41 am, Alex Genadinik <[email protected]> wrote:
> Here is the link to my testing page:

http://www.hikingsanfrancisco.com/outdoors/map.php

>
> As you can see from there, it makes an AJAX call on change of the
> dropdown.
>
> Here is my pseudo code for the PHP code that is called.  My problem is
> that I can't get the JS created and displayed from the PHP code.
>

The HTML that your PHP is creating is invalid.

You have html tags in the <head> (<p>Get</p>)
You have extra </script> tags

If I look at:
http://www.hikingsanfrancisco.com/outdoors/map_ajax.php?tree_id=Acacia

I get this:
Hello World!
Tree id: Acacia

There was an error getting the spotted trees. An email alert has been
generated informing us about it. We are already fixing this! Sorry for
the inconvenience. If there is something urgent, please contact us at
[email protected] and we will get back to you ASAP!

Which it looks like you would use as the contents of your "map_canvas"
div.  That won't be a Google Maps API map.

  -- Larry

>
> So the problem is that none of the JavaScript works on the PHP side
> and I can't place the markers.
> Would greatly appreciate help!
>
> Thanks,
> Alex

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to