看板 [ Ajax ]
討論串[問題] 用jsp的button type後,抓不到form內容
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓2(2推 0噓 1→)留言3則,0人參與, 最新作者tomin (Schrödinger's cat)時間15年前 (2010/06/06 11:43), 編輯資訊
0
0
0
內容預覽:
你還是可以用submit. <input type="submit" name="buttonname" onclick="checkForm(this.form);". value="OOO"/>. return true; //加這行 return false //加這行沒想過要捉button的

推噓0(0推 0噓 3→)留言3則,0人參與, 最新作者pilisir (SIR)時間15年前 (2010/06/06 02:08), 編輯資訊
0
0
0
內容預覽:
最近寫了一個jsp網頁. 一切都滿順利的. 表單提交按鈕原本是用type=submit的方式. <input type="submit" name="buttonname" value="OOO"/>. 表單內容提交後,在Action/ActionForm裡用request.getParameter
(還有501個字)
首頁
上一頁
1
下一頁
尾頁