01.
<div
class
=
"form-group"
>
02.
<table
class
=
"table table-condensed"
>
03.
<thead>
04.
<tr>
05.
<th>#</th>
06.
<th>นำหน้า</th>
07.
<th>ชื่อ</th>
08.
<th>นามสกุล</th>
09.
</tr>
10.
</thead>
11.
<tbody
class
=
"place-datarow"
>
12.
<tr
class
=
"datarow"
>
13.
<th scope=
"row"
><div
class
=
"active"
id=number><span>1</span></div></th>
14.
<td>
15.
<select name=
"title[]"
class
=
"form-control"
>
16.
<option value=
""
>คำนำหน้า</option>
17.
<option value=
"นาย"
>นาย</option>
18.
<option value=
"นาง"
>นาง</option>
19.
</td>
20.
<td>
21.
<input type=
"text"
class
=
"form-control"
name=
"firstname[]"
>
22.
</td>
23.
<td>
24.
<input type=
"text"
class
=
"form-control"
name=
"lastname[]"
>
25.
</td>
26.
27.
</tr>
28.
</tbody>
29.
30.
</table>
31.
<br>
32.
<table
class
=
"table"
>
33.
<tr>
34.
<td width=
"50"
class
=
"tex-center"
>
35.
<button id=
"addRow"
type=
"button"
class
=
"btn btn-info"
>+</button>
36.
</td>
37.
<td width=
"50"
class
=
"tex-center"
>
38.
<button id=
"removeRow"
type=
"button"
class
=
"btn btn-danger"
>-</button>
39.
</td>
40.
<td
class
=
"text-right"
>
41.
<button type=
"submit"
class
=
"btn btn-success"
>Submit</button>
42.
43.
</td>
44.
</tr>
45.
</table>
46.
<input type=
"hiden"
id=
"number"
value=
"0"
>
47.
</div><!--div
class
=
"row form-group"
-->