Thanks for your suggestions. I've made some changes to the page and it helped somewhat.
Instead of calling the showAddress function inline, I am now calling it from within the initialize() function. This seems to have cleared up the Object Required error. However, in IE it is giving an javascript error at a line beyond the bounds of the page which i can't figure out and displaying no Marker points. In Firefox it is not displaying the map properly at all. I installed the Firebug add-on as suggested, but there are no errors encountered in Firefox. Please take another gander at the updated code and respond if you have any suggestions. http://woodsite.peak-systems.net/properties/search.asp On Dec 10, 12:34 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > On Dec 10, 9:21 am, "Michael Geary" <[EMAIL PROTECTED]> wrote: > > > That of course is the cause of the bug, but it leaves open a mystery: "How > > in the world did you figure that out? Do you have some magical talent at > > this? I spent hours and didn't find it!" > > > And of course you don't have a magical talent, any more than I do. Yet we > > somehow both found the problem in about a minute's work - simply because we > > have good debugging tools like Firebug. > > > That's why I highly recommend not just providing the answer to a question > > like this, but explaining what tools you used to find it, and educating the > > OP on what these tools are and how to use them. > > > To paraphrase an old saying, "Give a man a bug fix, and you've fixed his bug > > today. Teach him how to use a debugger, and he'll be able to fix his own bug > > next time." :-) > > But... > I didn't use a debugger. I looked at the error message reported in > IE & Firefox, then at his code and told him the problem I saw... > > Although if I did use a debugger, I would have said so. I do get > tired of saying "if you look in the error console in firefox or Opera > you will see..." > > And thank you for adding your two cents, hopefully it will help. > > -- Larry > > > > > > > -Mike > > > > From: [EMAIL PROTECTED] > > > > Your initialize function which initializes the "map" variable > > > is run by the body onload event which happens after the page > > > finishes loading. The calls to showAddress are inline and > > > are executed as the page is loading, before that variable is set up. > > > > -- Larry- Hide quoted text - > > > - Show quoted text -- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
