質問編集履歴
3
ソースに一部抜けがあったため修正しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -230,9 +230,9 @@
|
|
230
230
|
|
231
231
|
</head>
|
232
232
|
|
233
|
-
|
233
|
+
<body class="ui-mobile-viewport">
|
234
|
-
|
234
|
+
|
235
|
-
<form method="post" action="order_02.php"
|
235
|
+
<form method="post" action="order_02.php">
|
236
236
|
|
237
237
|
<div>
|
238
238
|
|
2
ブラウザからソースを表示した場合のHTMLを追記しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -187,3 +187,233 @@
|
|
187
187
|
</html>
|
188
188
|
|
189
189
|
```
|
190
|
+
|
191
|
+
|
192
|
+
|
193
|
+
ブラウザからのHTML
|
194
|
+
|
195
|
+
```HTML
|
196
|
+
|
197
|
+
|
198
|
+
|
199
|
+
<!DOCTYPE html>
|
200
|
+
|
201
|
+
<html lang="ja">
|
202
|
+
|
203
|
+
<head>
|
204
|
+
|
205
|
+
<meta charset="UTF-8">
|
206
|
+
|
207
|
+
<meta name = "format-detection" content = "telephone=no">
|
208
|
+
|
209
|
+
<link rel="stylesheet" href="./common/css/jquery.mobile-1.1.0.min.css" />
|
210
|
+
|
211
|
+
<link rel="stylesheet" href="./common/css/style.css">
|
212
|
+
|
213
|
+
<link rel="stylesheet" href="./common/css/button.css">
|
214
|
+
|
215
|
+
|
216
|
+
|
217
|
+
<script src="http://code.jquery.com/jquery.min.js"></script>
|
218
|
+
|
219
|
+
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script>
|
220
|
+
|
221
|
+
<script language="JavaScript" charset="utf-8" type="text/javascript" src="./common/js/sample2.js"></script>
|
222
|
+
|
223
|
+
|
224
|
+
|
225
|
+
|
226
|
+
|
227
|
+
|
228
|
+
|
229
|
+
|
230
|
+
|
231
|
+
</head>
|
232
|
+
|
233
|
+
|
234
|
+
|
235
|
+
<form method="post" action="order_02.php" name="info" onsubmit="return formCheck()">
|
236
|
+
|
237
|
+
<div>
|
238
|
+
|
239
|
+
<table class ="center-position" border="1">
|
240
|
+
|
241
|
+
<!-- 見出し項目表示箇所 Start -->
|
242
|
+
|
243
|
+
<tr style=color:"#ffffff" bgcolor="#000000" height=30px>
|
244
|
+
|
245
|
+
<th class ="menu" width=220>商品名</th>
|
246
|
+
|
247
|
+
<th class ="menu" width=100>単価(円)</th>
|
248
|
+
|
249
|
+
<th class ="menu" width=50>数量</th>
|
250
|
+
|
251
|
+
</tr>
|
252
|
+
|
253
|
+
<!-- 見出し項目表示箇所 End -->
|
254
|
+
|
255
|
+
|
256
|
+
|
257
|
+
<!-- 検索データ表示箇所 Start -->
|
258
|
+
|
259
|
+
<tr style= "height=30px;">
|
260
|
+
|
261
|
+
<td class="display-center">テスト1</td>
|
262
|
+
|
263
|
+
<td class="display-center">5,000</td>
|
264
|
+
|
265
|
+
<td class="display-center">
|
266
|
+
|
267
|
+
<input class="number2" type="number" min="1" max="99" maxlength="2" name="suryo[]" autocomplete="off">
|
268
|
+
|
269
|
+
</td>
|
270
|
+
|
271
|
+
</tr>
|
272
|
+
|
273
|
+
<tr style= "height=30px;">
|
274
|
+
|
275
|
+
<td class="display-center">テスト2</td>
|
276
|
+
|
277
|
+
<td class="display-center">5,000</td>
|
278
|
+
|
279
|
+
<td class="display-center">
|
280
|
+
|
281
|
+
<input class="number2" type="number" min="1" max="99" maxlength="2" name="suryo[]" autocomplete="off">
|
282
|
+
|
283
|
+
</td>
|
284
|
+
|
285
|
+
</tr>
|
286
|
+
|
287
|
+
<tr style= "height=30px;">
|
288
|
+
|
289
|
+
<td class="display-center">テスト3</td>
|
290
|
+
|
291
|
+
<td class="display-center">5,000</td>
|
292
|
+
|
293
|
+
<td class="display-center">
|
294
|
+
|
295
|
+
<input class="number2" type="number" min="1" max="99" maxlength="2" name="suryo[]" autocomplete="off">
|
296
|
+
|
297
|
+
</td>
|
298
|
+
|
299
|
+
</tr>
|
300
|
+
|
301
|
+
<tr style= "height=30px;">
|
302
|
+
|
303
|
+
<td class="display-center">テスト4</td>
|
304
|
+
|
305
|
+
<td class="display-center">5,000</td>
|
306
|
+
|
307
|
+
<td class="display-center">
|
308
|
+
|
309
|
+
<input class="number2" type="number" min="1" max="99" maxlength="2" name="suryo[]" autocomplete="off">
|
310
|
+
|
311
|
+
</td>
|
312
|
+
|
313
|
+
</tr>
|
314
|
+
|
315
|
+
<tr style= "height=30px;">
|
316
|
+
|
317
|
+
<td class="display-center">テスト5</td>
|
318
|
+
|
319
|
+
<td class="display-center">5,000</td>
|
320
|
+
|
321
|
+
<td class="display-center">
|
322
|
+
|
323
|
+
<input class="number2" type="number" min="1" max="99" maxlength="2" name="suryo[]" autocomplete="off">
|
324
|
+
|
325
|
+
</td>
|
326
|
+
|
327
|
+
</tr>
|
328
|
+
|
329
|
+
<tr style= "height=30px;">
|
330
|
+
|
331
|
+
<td class="display-center">テスト6</td>
|
332
|
+
|
333
|
+
<td class="display-center">5,000</td>
|
334
|
+
|
335
|
+
<td class="display-center">
|
336
|
+
|
337
|
+
<input class="number2" type="number" min="1" max="99" maxlength="2" name="suryo[]" autocomplete="off">
|
338
|
+
|
339
|
+
</td>
|
340
|
+
|
341
|
+
</tr>
|
342
|
+
|
343
|
+
<tr style= "height=30px;">
|
344
|
+
|
345
|
+
<td class="display-center">テスト7</td>
|
346
|
+
|
347
|
+
<td class="display-center">5,000</td>
|
348
|
+
|
349
|
+
<td class="display-center">
|
350
|
+
|
351
|
+
<input class="number2" type="number" min="1" max="99" maxlength="2" name="suryo[]" autocomplete="off">
|
352
|
+
|
353
|
+
</td>
|
354
|
+
|
355
|
+
</tr>
|
356
|
+
|
357
|
+
<tr style= "height=30px;">
|
358
|
+
|
359
|
+
<td class="display-center">テスト8</td>
|
360
|
+
|
361
|
+
<td class="display-center">5,000</td>
|
362
|
+
|
363
|
+
<td class="display-center">
|
364
|
+
|
365
|
+
<input class="number2" type="number" min="1" max="99" maxlength="2" name="suryo[]" autocomplete="off">
|
366
|
+
|
367
|
+
</td>
|
368
|
+
|
369
|
+
</tr>
|
370
|
+
|
371
|
+
<tr style= "height=30px;">
|
372
|
+
|
373
|
+
<td class="display-center">テスト9</td>
|
374
|
+
|
375
|
+
<td class="display-center">5,000</td>
|
376
|
+
|
377
|
+
<td class="display-center">
|
378
|
+
|
379
|
+
<input class="number2" type="number" min="1" max="99" maxlength="2" name="suryo[]" autocomplete="off">
|
380
|
+
|
381
|
+
</td>
|
382
|
+
|
383
|
+
</tr>
|
384
|
+
|
385
|
+
<tr style= "height=30px;">
|
386
|
+
|
387
|
+
<td class="display-center">テスト10</td>
|
388
|
+
|
389
|
+
<td class="display-center">5,000</td>
|
390
|
+
|
391
|
+
<td class="display-center">
|
392
|
+
|
393
|
+
<input class="number2" type="number" min="1" max="99" maxlength="2" name="suryo[]" autocomplete="off">
|
394
|
+
|
395
|
+
</td>
|
396
|
+
|
397
|
+
</tr>
|
398
|
+
|
399
|
+
</table>
|
400
|
+
|
401
|
+
</div>
|
402
|
+
|
403
|
+
<br>
|
404
|
+
|
405
|
+
<div class="buttonMenu">
|
406
|
+
|
407
|
+
<div class="buttonMenu">
|
408
|
+
|
409
|
+
<button type="submit" name="" value="" class="moveButton">確認 »</button>
|
410
|
+
|
411
|
+
</div>
|
412
|
+
|
413
|
+
</form>
|
414
|
+
|
415
|
+
</body>
|
416
|
+
|
417
|
+
</html>
|
418
|
+
|
419
|
+
```
|
1
本件の処理部分にはPHPが関係しないため、タグと内容を一部修正しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,6 +1,8 @@
|
|
1
|
-
現在、商品受注を目的としたプログラムをphpで作成しています。
|
1
|
+
現在、商品受注を目的としたプログラムをSmartyフレームワークを使用したphpで作成しています。
|
2
2
|
|
3
|
+
その中の呼び出し先テンプレートのHTMLで、jsを呼び出して使用する形を計画しています。
|
4
|
+
|
3
|
-
HTML5のpatternがsafariで機能しないため、
|
5
|
+
また、HTML5のpatternがsafariで機能しないため、そちらの使用は考えておりません。
|
4
6
|
|
5
7
|
|
6
8
|
|