On Jun 29, 7:11 am, tinem <ti...@email.dk> wrote: > http://www.tinemuller.dk/googlemaps_v3/directions_renderer/TEST_docty... > > What can I do to solve this problem - someone know please?
Your TEST_directions_renderer.js javascript is executing before the DOM is created. map-container, dir-container, from-input, to-input, etc do not exist until the DOM has been rendered. I would suggest moving the load of that file to the end of your page, just before the </body> tag, or creating the "Demo" object in the onload event handler. -- Larry -- 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.