質問編集履歴
3
回答に対する追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -174,8 +174,6 @@
|
|
174
174
|
|
175
175
|
<div id="ans2"></div>
|
176
176
|
|
177
|
-
<!-- <script language="javascript" type="text/javascript"></script> -->
|
178
|
-
|
179
177
|
<script src="sample_php3.js"></script>
|
180
178
|
|
181
179
|
</body>
|
2
回答に対する追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -147,3 +147,39 @@
|
|
147
147
|
?>
|
148
148
|
|
149
149
|
```
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
追記しました。(2020/04/16)
|
154
|
+
|
155
|
+
④sample_php2.php
|
156
|
+
|
157
|
+
```php
|
158
|
+
|
159
|
+
<!DOCTYPE html>
|
160
|
+
|
161
|
+
<html>
|
162
|
+
|
163
|
+
<head>
|
164
|
+
|
165
|
+
<meta charset="utf-8" />
|
166
|
+
|
167
|
+
<title>sample</title>
|
168
|
+
|
169
|
+
</head>
|
170
|
+
|
171
|
+
<body>
|
172
|
+
|
173
|
+
<div id="ans1"></div>
|
174
|
+
|
175
|
+
<div id="ans2"></div>
|
176
|
+
|
177
|
+
<!-- <script language="javascript" type="text/javascript"></script> -->
|
178
|
+
|
179
|
+
<script src="sample_php3.js"></script>
|
180
|
+
|
181
|
+
</body>
|
182
|
+
|
183
|
+
</html>
|
184
|
+
|
185
|
+
```
|
1
ソードコードをコピペから<code>へ変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -36,7 +36,9 @@
|
|
36
36
|
|
37
37
|
|
38
38
|
|
39
|
-
①sample_php2.html
|
39
|
+
①sample_php2.html
|
40
|
+
|
41
|
+
```html
|
40
42
|
|
41
43
|
<!DOCTYPE html>
|
42
44
|
|
@@ -66,11 +68,15 @@
|
|
66
68
|
|
67
69
|
</html>
|
68
70
|
|
71
|
+
```
|
69
72
|
|
70
73
|
|
71
74
|
|
72
75
|
|
76
|
+
|
73
|
-
②sample_php3.js
|
77
|
+
②sample_php3.js
|
78
|
+
|
79
|
+
```javascript
|
74
80
|
|
75
81
|
var request = new XMLHttpRequest();
|
76
82
|
|
@@ -110,11 +116,15 @@
|
|
110
116
|
|
111
117
|
};
|
112
118
|
|
119
|
+
```
|
113
120
|
|
114
121
|
|
115
122
|
|
116
123
|
|
124
|
+
|
117
|
-
③sample_php1.php
|
125
|
+
③sample_php1.php
|
126
|
+
|
127
|
+
```php
|
118
128
|
|
119
129
|
<?php
|
120
130
|
|
@@ -135,3 +145,5 @@
|
|
135
145
|
echo json_encode($array);
|
136
146
|
|
137
147
|
?>
|
148
|
+
|
149
|
+
```
|