Salut,
j'ai 3 champs du texte et un bouton, je veux quand j'appuie sur le bouton les 3 champs se répètent automatiquement voila le code html:
<code>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>ajout-dyn</title>
</head>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr align="left">
<td height="26" colspan="3"><strong>Formations :</strong></td>
</tr>
<tr>
<td width="33%" height="26" align="center">Année d'obtention
du Diplôme</td>
<td width="34%" align="center">Diplôme</td>
<td width="33%" align="center">Etablissement</td>
</tr>
<tr>
<td height="26" align="center"><input name="annee_formation1" type="text" class="form_pt_center" id="ann?formation1" tabindex="24" maxlength="50" /></td>
<td align="center"><input name="diplome_formation1" type="text" class="form_pt_center" id="diplome_formation1" tabindex="25" maxlength="50" /></td>
<td align="center"><input name="etablissement_formation1" type="text" class="form_pt_center" id="etablissement_formation1" tabindex="26" maxlength="50" />
<input type="button" value="+"/></td>
</tr>
</tbody>
</table>
</body>
</html>
</code>