Hello All, I'm creating a site where markers will be clicked, opening unique info windows which will have the destination already embedded - the user will fill in their address and click the submit button, displaying the directions to that particular marker.
I have everything working great when the <input> form is not located in the info window (or in the "map_container" div that hosts the google map). However when the input form is located inside the <div id="map-container"> that holds the map, the Javascript does not seem to be able to getElementById and retrieve the "from:" value. I've created a greatly simplified web page to illustrate the problem, simply click on the marker and enter a location, you will see that submitting the info fails to transfer the address to the directions api. If you un-comment the identical form in the <div id="dir- container"> you can enter an address in that form and observe that it works just fine. Can anyone explain to me what is going on? I've seen functioning examples similar to mine in api V2 but none in V3. Is it possible? link to test site: http://galacticstatic.net/directionstest.html Thanks in advance, Kristian -- 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 google-maps-js-api...@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.