On Jul 22, 6:07 am, "[email protected]" <[email protected]> wrote: > On Jul 22, 6:02 am, "[email protected]" <[email protected]> > wrote:
> > On Jul 22, 5:37 am, JerryNewton <[email protected]> wrote: > > > > You can see everything with this link > > > >http://pixtoria.free.fr/pizzacap/trouveznous.php > > > When I click on the "Encode" button, I get a javascript error: > > > In IE: > > Line: 30 > > Error: Object expected > > > In Firefox: > > Error: codeAddress is not defined > > Source File:http://pixtoria.free.fr/pizzacap/trouveznous.php > > Line: 1 > > > There is no function codeAddress on your page. > > There is one that is local to the "initialize" function, but to be > executed by a html element click event (which executes in the global > scope), it needs to be global (outside any function). And you have a second initialize function defined inside your first: function initialize() {geocoder = new google.maps.Geocoder();} -- 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.
