Wasn't it [EMAIL PROTECTED] who wrote: > >The question is why does the search function work on >http://www.hardins.com/retail2.htm, >and not on http://www.hardins.com/retail4.htm.
retail2.htm has no load() function, and the showAddress() function is global. retail4.htm does have a load() function, and the showAdress() function is a local function of load(). If you don't understand scope, then try reading http://econym.org.uk/gmap/scope.htm -- http://econym.org.uk/gmap The Blackpool Community Church Javascript Team --~--~---------~--~----~------------~-------~--~----~ 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=en -~----------~----~----~----~------~----~------~--~---
