Voici ma page

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<html> 
<head> 
<title>Titre de la page</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<SCRIPT language="javascript">
function wait(){
	findwords.innerText = "wait";
	findEtat.innerText = "wait";
}
</SCRIPT>
</head>
 
<BODY>
	<div id="findwords"><div>
	<div id="findEtat"><div>
</BODY> 
</html>
Quand j'appelle la fonction wait() via une autre page, j'ai le message suivant:
findEtat est indéfini.
Ca a l'air de passer avec un seul div, mais quand j'en met plusieurs il ne reconnait pas le second systématiquement.

une idée?



Merci