On Jan 10, 5:03 am, Antonio Recinella <[email protected]> wrote: > Hi, > > I just started dabbling with javascript and there is probably some really > simple reason why I have to click Submit twice before I get the alert with > the geocoded start postal code. > > You can see the example here:http://v3.recinella.dk > > The idea is to geocode the 'from address' and the 'to address' so I can add > a waypoint to prevent the route go across with a ferry. > > Luckily in Denmark this is fairly easy because all I have to do is check if > either the start or the end postal code is greater than 5000, if is is then > I'll add a waypoint.
Have you checked your javascript errors? Your map doesn't work at all in IE6 (you haven't declared your map variable with the var keyword and have a div named "map" and geocoder is not defined). In Chrome I get the obvious: /index.js:45 Uncaught ReferenceError: startpn is not defined -- Larry -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
