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

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

    Have you tried adding the semicolon to onclick="googleMapsQuery(422111);". I don't have enough of your code to test if the missing semicolon would cause the error, but ie is more picky about syntax.

提交回复
热议问题