[Javascript] Probléme SetInterval

Fermé
maxs15 Messages postés 28 Date d'inscription mardi 4 mars 2008 Statut Membre Dernière intervention 30 mai 2009 - 30 mai 2009 à 14:14
Bonjour,

Voila un petit moment que je n'arrive pas a comprendre pourquoi ce code ce fonctionne pas.
En effet,la page devrai se rechargé toute les 10 sec grâce au setInterval mais aucun résultat...

<html><head>
<script>

var numero = parent.frames.haut.i;
var inter;

function recharge()
{

location.href = "http://xxxx.com/invisible.php?idmLog=<?php echo $idmLog ?>" + "&p1=" + parent.arr[numero][1] ;

}


inter = setInterval('recharge()', 10000);

</script>
</head><body></body></html>

Quelqu'un pourrait'il m'aider? Merci