質問編集履歴

3

追記

2021/04/15 06:41

投稿

test1234
test1234

スコア8

test CHANGED
File without changes
test CHANGED
@@ -24,7 +24,7 @@
24
24
 
25
25
  $(this).parent().parent().remove();
26
26
 
27
- });
27
+ });
28
28
 
29
29
  });
30
30
 

2

html追記

2021/04/15 06:40

投稿

test1234
test1234

スコア8

test CHANGED
File without changes
test CHANGED
@@ -32,18 +32,32 @@
32
32
 
33
33
 
34
34
 
35
- <table id='den_tbl'>
35
+ -----------------------
36
36
 
37
- <tr>
37
+ echo"<table id='den_tbl'>";
38
38
 
39
- <td><input name='h_code[]' type='text' /></td>
39
+ $i = 1;
40
40
 
41
- <td><input name='h_name[]' type='text'/></td>
41
+ while( $i < 6 ){
42
42
 
43
- <td><input name='suryo[]' type='text' /></td>
43
+ echo"
44
44
 
45
- <td><input class='btnAdd3' type='button' value='行追加' /> <input class='btnDelete' type='button' value='削除' /></td>
45
+ <tr>
46
46
 
47
- </tr>
47
+ <td><input name='h_code[]' type='text' class='code' /></td>
48
48
 
49
+ <td><input name='h_name[]' type='text' class='name' /></td>
50
+
51
+ <td><input name='suryo[]' type='text' class='suryo' /></td>
52
+
53
+ <td><input class='btnAdd3' type='button' value='行追加' /> <input class='btnDelete' type='button' value='削除' /></td>
54
+
49
- </table>
55
+ </tr>
56
+
57
+ ";
58
+
59
+ $i++;
60
+
61
+ }
62
+
63
+ echo"</table>";

1

追記

2021/04/15 05:53

投稿

test1234
test1234

スコア8

test CHANGED
File without changes
test CHANGED
@@ -32,7 +32,7 @@
32
32
 
33
33
 
34
34
 
35
-
35
+ <table id='den_tbl'>
36
36
 
37
37
  <tr>
38
38
 
@@ -45,3 +45,5 @@
45
45
  <td><input class='btnAdd3' type='button' value='行追加' /> <input class='btnDelete' type='button' value='削除' /></td>
46
46
 
47
47
  </tr>
48
+
49
+ </table>