On Dec 23, 12:06 pm, "[email protected]" <[email protected]>
wrote:
> On Dec 23, 11:46 am, Tremblay <[email protected]> wrote:
>
> > I fixed the link...please try again.
>
> What did you "fix"?
>
>
>
> >http://jftremblay.net/test.php
>
> 1. I still get an unterminated string error on line 1192 in IE. On
> this line:
>         elementValue("Bar","Barre de progression - Chargement Termin顢);
> (it doesn't like the character encoding either...)
>
> 2. The HTML is still invalid.
> 3. You didn't answer my question about what browser you are testing
> with.

You are using .getDate()
http://www.w3schools.com/jsref/jsref_getDate.asp

That returns the day of the month (which means it won't change between
calls on the same day).  I used .getTime():
http://www.w3schools.com/jsref/jsref_gettime.asp

Which changes every millisecond...

  -- Larry


>
>   -- Larry
>
>
>
>
>
> > On 23 déc, 14:42, "[email protected]" <[email protected]> wrote:
>
> > > On Dec 23, 11:01 am, Tremblay <[email protected]> wrote:
>
> > > > here is a link without the map:
>
> > > What use is a page without the map?
>
> > > >http://jftremblay.net/test.php
> > > > when i make a change to the kml and i ask a reload of the page it show
> > > > the old one.
>
> > > I get javascript errors on that page in IE6.  Firefox is not happy
> > > with your character encoding.  What browser are you using to test it?
>
> > > Your html is invalid (probably not the problem, but certainly doesn't
> > > help...):http://validator.w3.org/check?uri=http%3A%2F%2Fjftremblay.net%2Ftest....
>
> > >   -- Larry
>
> > > > On 23 déc, 13:42, "[email protected]" <[email protected]> wrote:
>
> > > > > On Dec 23, 10:31 am, Tremblay <[email protected]> wrote:
>
> > > > > > I have searched all over the Internet for a solution to my problem. 
> > > > > > I
> > > > > > have a kml that is constantly updated...it's a network monitoring, 
> > > > > > so
> > > > > > we constantly update the kml.
> > > > > > Let's say i open the kml 100 times a day. The function who loads the
> > > > > > kml, instead of showing the fresh one, loads from the cache (I 
> > > > > > suppose
> > > > > > that theory) an old version.
>
> > > > > > Assume the following code:
> > > > > > ///////////////////////////////////////////////////////////////////////////­­­­///////
> > > > > >       // Load kml file in ram
> > > > > >       function load_kml(kml){
> > > > > >       kml = kml + "?"+(new Date()).getDate();
> > > > > >       alert(kml);
> > > > > >         geoXml = new GGeoXml(kml);
> > > > > >       }
> > > > > > load_kml("http://jftremblay.net/google/google.kml";);////////////////////////////////////////////////////////////////////////­­­­////////////
>
> > > > > > Barry Hunter said in another post that if I add a querystring to my
> > > > > > request (in this case a getdate function), a fresh kml will be 
> > > > > > loaded
>
> > > > > That works for me.
>
> > > > > > but, in this case, even when I push Ctrl+F5 to make a fresh page 
> > > > > > load,
> > > > > > it doen`t work.
>
> > > > > > Any idea???
>
> > > > > Follow the posting guidelines and post a link to your 
> > > > > map?http://groups.google.com/group/google-maps-api/web/suggested-posting-...
>
> > > > > and:http://groups.google.com/group/Google-Maps-API/web/why-including-a-li...
>
> > > > >   -- Larry- Hide quoted text -
>
> > > > - Show quoted text -- 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.


Reply via email to