質問編集履歴
2
code言語の記述
test
CHANGED
File without changes
|
test
CHANGED
@@ -28,7 +28,7 @@
|
|
28
28
|
|
29
29
|
■index.html■
|
30
30
|
|
31
|
-
```
|
31
|
+
```html
|
32
32
|
|
33
33
|
<body>
|
34
34
|
|
@@ -50,7 +50,7 @@
|
|
50
50
|
|
51
51
|
■contact.html■
|
52
52
|
|
53
|
-
```
|
53
|
+
```html
|
54
54
|
|
55
55
|
|
56
56
|
|
@@ -136,7 +136,7 @@
|
|
136
136
|
|
137
137
|
■service.js■
|
138
138
|
|
139
|
-
```
|
139
|
+
```js
|
140
140
|
|
141
141
|
$(function(){
|
142
142
|
|
@@ -190,7 +190,7 @@
|
|
190
190
|
|
191
191
|
■contact.js■
|
192
192
|
|
193
|
-
```
|
193
|
+
```js
|
194
194
|
|
195
195
|
function changeSelect(){
|
196
196
|
|
1
コードマップに書き換え
test
CHANGED
File without changes
|
test
CHANGED
@@ -22,8 +22,14 @@
|
|
22
22
|
|
23
23
|
|
24
24
|
|
25
|
+
|
26
|
+
|
27
|
+
|
28
|
+
|
25
29
|
■index.html■
|
26
30
|
|
31
|
+
```ここに言語を入力
|
32
|
+
|
27
33
|
<body>
|
28
34
|
|
29
35
|
<div class="contact">
|
@@ -38,10 +44,16 @@
|
|
38
44
|
|
39
45
|
</body>
|
40
46
|
|
47
|
+
```
|
48
|
+
|
41
49
|
|
42
50
|
|
43
51
|
■contact.html■
|
44
52
|
|
53
|
+
```ここに言語を入力
|
54
|
+
|
55
|
+
|
56
|
+
|
45
57
|
<body>
|
46
58
|
|
47
59
|
<form action="submit.php" method="POST">
|
@@ -118,10 +130,14 @@
|
|
118
130
|
|
119
131
|
</body>
|
120
132
|
|
133
|
+
```
|
134
|
+
|
121
135
|
|
122
136
|
|
123
137
|
■service.js■
|
124
138
|
|
139
|
+
```ここに言語を入力
|
140
|
+
|
125
141
|
$(function(){
|
126
142
|
|
127
143
|
|
@@ -168,10 +184,14 @@
|
|
168
184
|
|
169
185
|
});
|
170
186
|
|
187
|
+
```
|
188
|
+
|
171
189
|
|
172
190
|
|
173
191
|
■contact.js■
|
174
192
|
|
193
|
+
```ここに言語を入力
|
194
|
+
|
175
195
|
function changeSelect(){
|
176
196
|
|
177
197
|
var val = $('#othersInquiry option:selected').attr('data-select');
|
@@ -201,3 +221,5 @@
|
|
201
221
|
}
|
202
222
|
|
203
223
|
$(document).on('change', '#othersInquiry', changeSelect);
|
224
|
+
|
225
|
+
```
|