The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Google API "cannot find map" error

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #26394

    I am trying to use a nice little piece of script that will place a google map on my contact page. You’ve all seen this and it should be pretty simple however being a JS beginner I’m having trouble. The script is on a PHP page which I am using to load my head tag throughout my website. I am getting an error on every page except my contact page where the map is. I figure it is looking for that map div before it has had a chance to load but I’m not sure what to do. I tried placing my script in the body but still am receiving the error. Is there a different onload event I can use or…?

    Here’s the page:

    I would appreciate any help with this. Thanks


    I don’t see any errors

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.