Yes, the "if" statement was in PHP code. I was looking at the source and I couldn't locate the problem. Your post made me check the page source from the browser, and then I realized that one div is commented out and the other is inside the PHP "if" statement which is fulfilled AFTER the postback, and therefore the error is pretty much expected. :) Sorry for wasting your time and thanks again.
Regards, Dzim On May 11, 1:24 am, "[email protected]" <[email protected]> wrote: > On May 10, 4:19 pm, Dzim <[email protected]> wrote: > > > Yes, something like that. The div you found is commented out, but the > > "real" one > > was inside the IF statement, hence the error, like it was in the > > similar post. > > When I looked at the page, that was the only instance of the string > googleMap... > > If your "if" statement was server-side, neither I nor the browser > would have know anything about it. > > -- Larry > > > > > Sorry for the trouble, and thanks for the help. > > > Regards, > > Dzim > > > On May 11, 1:01 am, "[email protected]" <[email protected]> > > wrote: > > > > On May 10, 3:30 pm, Dzim <[email protected]> wrote: > > > > > Hello, > > > > > I searched for this error here in this group and didn't find the > > > > solution to my problem. > > > > JS error is: > > > > > main.js (line 368): > > > > "a is null" > > > > function Cn(a){var b;for(;b=a.firstChild;){Bn(b);a.removeChild(b)}} > > > > > and it is reported by Firebug and also is showing in IE7. Chrome > > > > doesn't report any JS errors. > > > > > Link is: > > > > >http://www.villas-in-tuscany.com/map.php > > > > The browsers can't find the "googleMap" div (you have commented it > > > out...): > > > <!--<div id="googleMap" style="width: 500px; height: 300px"></div>--> > > > > -- Larry > > > > > Thanks in advance for the help. > > > > > Regards, > > > > Dzim --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
