I have an ASP form and I’m using Google geocode to get a lat and long from a postcode. In Internet Explorer the form will submit, but in Google Chrome it won’t. It seems to post if I remove return from the OnClientClick="return findLatLng()", but then the javascript part won’t update the form. I was wondering why I need return and what I could do to get around this?
I have an ASP form and I’m using Google geocode to get a lat
Share
Taken from MSUH comment, this is whats wrong: if findlatlng returns true page will postback, if it returns false it wont, return is used to check if we want to proceed with the click event defined in code behind or not.