Yes, I thought so too.  But I can't seem to figure out where to place
that.  I tried putting " var teksti = ' ';   " right below in the
"load()" function...but it doesn't seem to have any affect.  Am I just
not putting it in the right place?

On Aug 31, 12:00 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> onsenjapan wrote:
> > Sorry.  Just ignore the <i> and </i> in the above.  I wanted to
> > distinguish it without quotes...my bad.  :-(
>
> > On Aug 30, 10:35 pm, onsenjapan <[EMAIL PROTECTED]> wrote:
> > > I'm trying to clear the html of a sidebar each time that I load the
> > > function. For some reason, the page works fine if I load it
> > > fresh...but when I hit the "reload map" all the markers are drawn
> > > fresh but the sidebar text gets added to the existing sidebar text,
> > > doubling it. Anyone know how to clear it fresh each time?
>
> > > Here's the map:www.onsenjapan.net/ralphonsen.php.
>
> > > My thought was to use <i>sidebar.innerHtml = "";</i> but either I'm
> > > putting it in the wrong place or else this is not the command to use.
>
> It looks to me like you need to do
> teksti = "";
> also.  As that variable is being used to accumulate the sidebar
> entries.
>
>   -- Larry
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to