質問編集履歴

3

htmlを修正

2018/07/15 14:16

投稿

med
med

スコア11

test CHANGED
File without changes
test CHANGED
@@ -46,6 +46,8 @@
46
46
 
47
47
  ```html
48
48
 
49
+ <form action="name_create" id="name_create" method="post">
50
+
49
51
  <input type="text" name="text1">
50
52
 
51
53
  <a href="#" id="event1" name="event1">要素追加</a>
@@ -74,7 +76,9 @@
74
76
 
75
77
  <a href="#" id="event5" name="event5">要素追加</a>
76
78
 
79
+ <button type="submit">作成する</button>
77
80
 
81
+ </form>
78
82
 
79
83
  ```
80
84
 

2

codeタグで括る

2018/07/15 14:16

投稿

med
med

スコア11

test CHANGED
File without changes
test CHANGED
@@ -24,7 +24,9 @@
24
24
 
25
25
 
26
26
 
27
+
28
+
27
- #JavaScript
29
+ ```JavaScript
28
30
 
29
31
  $(document).on('click', '#event1', function(){
30
32
 
@@ -34,11 +36,15 @@
34
36
 
35
37
  </script>
36
38
 
39
+ ```
37
40
 
38
41
 
39
42
 
40
43
 
44
+
45
+
46
+
41
- #html
47
+ ```html
42
48
 
43
49
  <input type="text" name="text1">
44
50
 
@@ -70,6 +76,8 @@
70
76
 
71
77
 
72
78
 
79
+ ```
80
+
73
81
 
74
82
 
75
83
  ```ここに言語名を入力

1

html文を追加しました。

2018/07/15 14:11

投稿

med
med

スコア11

test CHANGED
File without changes
test CHANGED
@@ -24,15 +24,49 @@
24
24
 
25
25
 
26
26
 
27
+ #JavaScript
28
+
27
29
  $(document).on('click', '#event1', function(){
28
30
 
29
31
  $('input[name="text1"]').val('挿入テキスト');
30
32
 
31
33
  });
32
34
 
35
+ </script>
33
36
 
34
37
 
38
+
39
+
40
+
41
+ #html
42
+
35
- </script>
43
+ <input type="text" name="text1">
44
+
45
+ <a href="#" id="event1" name="event1">要素追加</a>
46
+
47
+
48
+
49
+ <input type="text" name="text2"><br>
50
+
51
+ <a href="#" id="event2" name="event2">要素追加</a>
52
+
53
+
54
+
55
+ <input type="text" name="text3"><br>
56
+
57
+ <a href="#" id="event3" name="event3">要素追加</a>
58
+
59
+
60
+
61
+ <input type="text" name="text4"><br>
62
+
63
+ <a href="#" id="event4" name="event4">要素追加</a>
64
+
65
+
66
+
67
+ <input type="text" name="text5"><br>
68
+
69
+ <a href="#" id="event5" name="event5">要素追加</a>
36
70
 
37
71
 
38
72