Hi All,

i am trying to use google map API to get point based on the postal
code provided by user
its working fine for all broweser except IE6 where it is not returning
any point corresponding to the said Postal code.
below is the code i have used

function getLatLong() {
var zip = (document.getElementById('StoreSearch_ZIP').value).replace("
", "");
if((zip.search(/^\d{4}[\s-]?[a-zA-Z]{2}$/)) != -1) { //validates
postal codes
                //geocoder.getLatLng(zip, findNearestStores);
                geocoder.getLatLng( zip, function(point) {
      if (!point) {
        alert(zip + " not found");
      } else {
           alert("point"+point)

      }
    }
  );

in all cases its working fine but for IE6 its not working can any one
tell me whats going wrong with the code

thanks in advance
Umesh

--

You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=.


Reply via email to