Or si je change
document.getElementById(target<?php echo $i; ?>).value
par
document.getElementById(target12).value
ça fonctionne mais uniquement sur la ligne 12 forcement.
Je voudrai affecter toutes les ligne (ici 30)
donc ligne 1 contient un champ avec "test 1"
ligne 2 contient un champ avec "test 2"
ligne 3 contient un champ avec "test 3"
...
Quelqu'un aurait-il une idée ?