Bonjour.
Voila j'ai un petiti soucis:

j'ai un tableau html:

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
 
<table id="tableauQuestionsAModere">
<tr>
<td id="584">jean annonce: question test</td>
<td><input onclick="validerQuestion(584);" value="V" type="button">  </td>
<td><input onclick="refuserQuestion(584);" value="X" type="button">  </td>
<td><input onclick="reformulerQuestion(584);" value=">" type="button">  </td>
</tr>
</table>

J'ai donc un <td id="584">.

Voici maintenant ma fonction javascript:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
 
function reformulerQuestion(idQuestion){		
 
  alert($('idQuestion')); // en utilisant prototype, ce qui correspond a un alert(getElementById(idQuestion)); 
}
Le probleme c'est que mon alert m'affiche un null. Et donc quand je fais alert(alert($('idQuestion').value), j'ai un"undefined".

Je voudrais récupérer le code a l'intérieur du td, a savoir:
"jean annonce: question test"
Comment accéder à l'intérieur du <table></table>?

Je vous remercie d'avance.
Allez ++!!