質問編集履歴

2

補足

2017/03/30 05:09

投稿

hyskyo
hyskyo

スコア79

test CHANGED
File without changes
test CHANGED
@@ -1,6 +1,14 @@
1
1
  javascripで取得idをphpでpostでそうしたいのですか誰か教えていただきませんか?
2
2
 
3
3
 
4
+
5
+ 補足:
6
+
7
+ index.phpの<div id="param" name="param"></div>これのid="param"はjavascriptfで取ってきました。
8
+
9
+
10
+
11
+ name="param"はformのアクションのPOSTでconfirm.phpに渡していますがこれが渡されてないです
4
12
 
5
13
 
6
14
 

1

補足説明

2017/03/30 05:09

投稿

hyskyo
hyskyo

スコア79

test CHANGED
File without changes
test CHANGED
@@ -82,6 +82,8 @@
82
82
 
83
83
  <div id="param" name="param"></div>
84
84
 
85
+ <button type="submit">確認画面へ</button>
86
+
85
87
  </form>
86
88
 
87
89
  ```
@@ -114,6 +116,8 @@
114
116
 
115
117
  <p><?php echo $param; ?></p>
116
118
 
119
+ <button class="submit-confirm" type="submit" name="submit">送信する</button>
120
+
117
121
  </form>
118
122
 
119
123
  ```