Ce code est il exact ?

En tout cas chez moi il ne fonctionne pas !

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
 
 
<script type="text/javascript">
function refresh(maj_fiche)
{
setTimeout("window.location.reload();",2000);
}	
</script>
 
<form name="maj_fiche" method="POST" Action="index.php?numlien=fich_spare&id='.$id.'" onsubmit="refresh(this);">