Google Map Lng + Lat To Hidden Field Not Working
I am trying to get Marker data into hidden fields on my form. I'm not sure why this isn't working, it must be something in my js syntax: var initialLocation; var siberia = new goo
Solution 1:
JSLint is a wonderful tool.
Problem at line 17 character 30: Missing semicolon.
placeMarker(event.latLng), google.maps.event.removeListener(myListener);
Problem at line 17 character 30: Expected an identifier and instead saw ','.
placeMarker(event.latLng), google.maps.event.removeListener(myListener);
Change that comma to a semicolon, run it through JSLint again and keep going until there are no more errors.
Post a Comment for "Google Map Lng + Lat To Hidden Field Not Working"