質問編集履歴
5
指摘されたプログラムの修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -48,7 +48,7 @@
|
|
48
48
|
|
49
49
|
<form action="submit.php" method="get">
|
50
50
|
|
51
|
-
<div id=div1>
|
51
|
+
<div id="div1">
|
52
52
|
|
53
53
|
<p>項目1</p>
|
54
54
|
|
4
指摘された箇所の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -44,9 +44,11 @@
|
|
44
44
|
|
45
45
|
|
46
46
|
|
47
|
-
|
47
|
+
|
48
48
|
|
49
49
|
<form action="submit.php" method="get">
|
50
|
+
|
51
|
+
<div id=div1>
|
50
52
|
|
51
53
|
<p>項目1</p>
|
52
54
|
|
3
プログラムの修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -84,13 +84,13 @@
|
|
84
84
|
|
85
85
|
<form action="create_music_submit.php" method="get">
|
86
86
|
|
87
|
-
<p>
|
87
|
+
<p>項目1</p>
|
88
88
|
|
89
89
|
<textarea class="form-control" name="item1"></textarea><br>
|
90
90
|
|
91
91
|
</form>
|
92
92
|
|
93
|
-
|
93
|
+
|
94
94
|
|
95
95
|
<textarea class="form-control" name="item2"></textarea><br>
|
96
96
|
|
2
プログラムの修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -6,13 +6,15 @@
|
|
6
6
|
|
7
7
|
```JavaScript
|
8
8
|
|
9
|
+
var count=1;
|
10
|
+
|
9
11
|
function addbox(){
|
10
12
|
|
11
13
|
count++;
|
12
14
|
|
13
15
|
var target = document.getElementById("output");
|
14
16
|
|
15
|
-
$('#add').append('</p><textarea class="form-control" name="item"></textarea></p>');
|
17
|
+
$('#add').append('</p><textarea class="form-control" name="item' + count + '"></textarea></p>');
|
16
18
|
|
17
19
|
};
|
18
20
|
|
@@ -84,19 +86,13 @@
|
|
84
86
|
|
85
87
|
<p>セクション1</p>
|
86
88
|
|
87
|
-
<textarea class="form-control" name="
|
89
|
+
<textarea class="form-control" name="item1"></textarea><br>
|
88
|
-
|
89
|
-
<input type="hidden" name="title" value="aaa">
|
90
|
-
|
91
|
-
<input type="hidden" name="body" value="aaa">
|
92
|
-
|
93
|
-
<input type="hidden" name="time" value="2018-01-06" 23:25="">
|
94
90
|
|
95
91
|
</form>
|
96
92
|
|
97
93
|
<p>項目2</p>
|
98
94
|
|
99
|
-
<textarea class="form-control" name="
|
95
|
+
<textarea class="form-control" name="item2"></textarea><br>
|
100
96
|
|
101
97
|
|
102
98
|
|
1
プログラムの修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -48,7 +48,7 @@
|
|
48
48
|
|
49
49
|
<p>項目1</p>
|
50
50
|
|
51
|
-
<textarea class="form-control" name="
|
51
|
+
<textarea class="form-control" name="item1"></textarea><br>
|
52
52
|
|
53
53
|
</div>
|
54
54
|
|