Sunday, February 23, 2014

Google Map API Get the error - Cannot read property 'value' of null

I got the following error from the JavaScript:
TypeError: Cannot read property 'value' of null
http://localhost:51654:11

In the _layout.cshtml page 
head
....
JavaScript link :maps.google.com/maps/api/js?sensor=false&libraries=places
...
head

If I add the following code in the view page, no error in the page
   maps.google.com/maps/api/js?sensor=false
I cannot figure out what is the wrong?

No comments:

Post a Comment