IE throws JavaScript Error: The value of the property 'googleMapsQuery' is null or undefined, not a Function object (works in other browsers)

前端 未结 6 1588
余生分开走
余生分开走 2021-01-17 15:00

I\'m having a real problem with JavaScript scope in IE 9.

This is inside the body of my document (yes, I realize script should go in the head for proper HTML, but I\

6条回答
  •  忘掉有多难
    2021-01-17 15:32

    In my particular case, I had a similar error on a legacy website used in my organization. To solve the issue, I had to list the website a a "Trusted site".

    To do so:

    • Click the Tools button, and then Internet options.
    • Go on the Security tab.
    • Click on Trusted sites and then on the sites button.
    • Enter the url of the website and click on Add.

    I'm leaving this here in the remote case it will help someone.

提交回复
热议问题