質問編集履歴
1
表示したいページのイメージとソースの詳細を追記しました
title
CHANGED
File without changes
|
body
CHANGED
@@ -66,4 +66,50 @@
|
|
66
66
|
中身は console.log(data); で確認ができるので、それを表示したい内容の加工するだけです。
|
67
67
|
|
68
68
|
とご教授をいただいておりますが、表示まで至っておりません。
|
69
|
-
極力ページのリロードを行わないようにしたいです。
|
69
|
+
極力ページのリロードを行わないようにしたいです。
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
ページの遷移比較ができるように追記掲載します
|
74
|
+
|
75
|
+
以下現行のページ表示状態
|
76
|
+
```html
|
77
|
+
</head>
|
78
|
+
<body>
|
79
|
+
<h1>テストプロジェクト</h1>
|
80
|
+
</body>
|
81
|
+
</html><h2>ajaxテストプロジェクト</h2>
|
82
|
+
<form method="POST">
|
83
|
+
<input type="button" name="hoge" value="viewA">
|
84
|
+
<input type="button" name="hoge" value="viewB">
|
85
|
+
</form><pre class='xdebug-var-dump' dir='ltr'><font color='#3465a4'>null</font>
|
86
|
+
</pre>The parameter of "request" is not found.
|
87
|
+
```
|
88
|
+
現行の表示されているページイメージ
|
89
|
+
---
|
90
|
+
](70e20e3da2e272055d64e7a26dd11113.png)
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
以下、期待する遷移後のページ結果
|
95
|
+
```html
|
96
|
+
<!DOCTYPE html>
|
97
|
+
<html>
|
98
|
+
<head>
|
99
|
+
|
100
|
+
~~~~~略~~~~
|
101
|
+
</head>
|
102
|
+
<body>
|
103
|
+
<h1>テストプロジェクト</h1>
|
104
|
+
</body>
|
105
|
+
</html><h2>ajaxテストプロジェクト</h2>
|
106
|
+
<form method="POST">
|
107
|
+
<input type="button" name="hoge" value="viewA">
|
108
|
+
<input type="button" name="hoge" value="viewB">
|
109
|
+
</form><pre class='xdebug-var-dump' dir='ltr'><small>string</small> <font color='#cc0000'>'viewA'</font> <i>(length=5)</i>
|
110
|
+
</pre>OK
|
111
|
+
```
|
112
|
+
|
113
|
+
結果イメージ
|
114
|
+
---
|
115
|
+

|