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

前端 未结 6 1572
余生分开走
余生分开走 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:22

    I was having a similar issue with a property being null or undefined.

    This ended up being that IE's document mode was being defaulted to IE7 Standards. This was due to the compatibility mode being automatically set to be used for all intranet sites (Tools > Compatibility View Setting > Display Intranet Sites in Compatibility View).

提交回复
热议问题