1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Tbody à la noix</title>
</head>
<body>
<table id="chapitre_table_1">
<tbody id="tbodyalanoix">
<tr id="tcha_1">
<td>Titre du chapitre : </td>
<td><textarea cols="50" rows="1" name="tcha_1" ></textarea></td>
<td><input type="button" value="ajouter_chapitre" onclick="ajouter_chapitre()"></input></td>
</tr>
<tr id="tr_schapitre_table_11">
<td>
<table id="schapitre_table_11">
<tr id="tsch_11">
<td>Titre du sous-chapitre : </td>
<td><textarea cols="50" rows="1" name="tsch_11"></textarea></td>
<td><input type="button" value="ajouter_schapitre" onclick="ajouter_schapitre(this.parentNode.parentNode.parentNode.parentNode.id)"></input></td>
</tr>
<tr>
<td>
<table id="id_table_para_111">
<tr id="para_111">
<td>Contenu du paragraphe : </td>
<td><textarea cols="80" rows="10" name="para_111"></textarea></td>
<td><input type="button" value="ajouter_paragraphe" onclick="ajouter_paragraphe(this.parentNode.parentNode.parentNode.parentNode.id)"></input></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr id="tr_schapitre_table_12">
<td>
<table id="schapitre_table_12">
<tr id="tsch_12">
<td>Titre du sous-chapitre : </td>
<td><textarea cols="50" rows="1" name="tsch_12"></textarea></td>
<td><input type="button" value="ajouter_schapitre" onclick="ajouter_schapitre(this.parentNode.parentNode.parentNode.parentNode.id)"></input></td>
</tr>
<tr>
<td>
<table id="id_table_para_121">
<tr id="para_121">
<td>Contenu du paragraphe : </td>
<td><textarea cols="80" rows="10" name="para_121"></textarea></td>
<td><input type="button" value="ajouter_paragraphe" onclick="ajouter_paragraphe(this.parentNode.parentNode.parentNode.parentNode.id)"></input></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</tbody>
</table>
</body>
</html> |
Partager