Re: [問題] input type有哪型態呢?

看板Web_Design作者 (fish)時間18年前 (2006/06/14 01:54), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串6/6 (看更多)
※ 引述《NTNUking (NTNU)》之銘言: : 我遇到的問題是 : 我在form裡 有一個input 可是我想直接給他值 而不是讓使用者輸入 : 這樣我的 tpye是什麼呢? : 這樣寫可以嗎 type="hidden" value ="<%= rs.getString("Password") %>" : 還有... type到底有哪些型態阿@@? : google爬了一下好像沒什麼資料^^" 你可以用 hidden 或者可以在input內加上 readonly 這樣使用者就不能改變value值 <input name="xxxx" type="text" value ="xxx" readonly> -- http://www.wretch.cc/blog/dingyuchi -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 218.166.104.129
文章代碼(AID): #14ZllBS8 (Web_Design)
討論串 (同標題文章)
文章代碼(AID): #14ZllBS8 (Web_Design)