[問題] 日期選擇器被手動修改?
請問
若是選完日期後如何防止被手動修改或刪除然後送出表單?
http://www.runoob.com/try/try.php?filename=jqueryui-example-datepicker
例如被修改成
這樣2017/05/0(被刪掉後面數字)
20177777/05555/09999
這樣亂加數字
試過
input
readonly="readonly"
但還是無法防止被刪除
或空白就送出表單?
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 163.30.127.172
※ 文章網址: https://www.ptt.cc/bbs/Ajax/M.1505376355.A.D40.html
→
09/14 16:20, , 1F
09/14 16:20, 1F
→
09/14 16:21, , 2F
09/14 16:21, 2F
→
09/14 16:52, , 3F
09/14 16:52, 3F
→
09/14 16:53, , 4F
09/14 16:53, 4F
→
09/14 17:10, , 5F
09/14 17:10, 5F
推
09/14 18:13, , 6F
09/14 18:13, 6F
→
09/14 18:28, , 7F
09/14 18:28, 7F
推
09/14 20:37, , 8F
09/14 20:37, 8F
→
09/14 20:37, , 9F
09/14 20:37, 9F
→
09/14 20:39, , 10F
09/14 20:39, 10F
→
09/15 00:49, , 11F
09/15 00:49, 11F
→
09/15 00:49, , 12F
09/15 00:49, 12F
→
09/15 10:46, , 13F
09/15 10:46, 13F
→
09/15 13:25, , 14F
09/15 13:25, 14F
→
09/15 13:25, , 15F
09/15 13:25, 15F
推
09/15 19:46, , 16F
09/15 19:46, 16F
→
09/15 19:47, , 17F
09/15 19:47, 17F
推
09/16 00:34, , 18F
09/16 00:34, 18F
→
09/16 00:36, , 19F
09/16 00:36, 19F
→
09/16 00:36, , 20F
09/16 00:36, 20F
→
09/19 09:16, , 21F
09/19 09:16, 21F
Ajax 近期熱門文章
PTT數位生活區 即時熱門文章