Afficher un message
Vieux 21/03/2008, 01h09   #6
SAM
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: probleme de rafraichissement

SAM a écrit :
>
> <body onload="setTimeout(function(){
> self.location=self.location+'?chp='+
> document.monForm.monChp.value+'&+'v='+
> Math.random();}
> ,5000);">


correctif :

<body onload="setTimeout(function(){
self.location=self.location+'?chp='+
document.monForm.monChp.value+'&v='+
Math.random();}
,5000);">



&v = Math.random()

ne sert qu'à avoir une url différente à chaque appel
(afin de forcer le rechargement depuis le serveur et non depuis le cache)

--
sm
  Réponse avec citation
 
Page generated in 0,04187 seconds with 9 queries