Ms7 Search
Google 搜尋 翻譯
calendar
« 九月 2024 »
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30            
近期文章
文章分類
網站連結
Syndicate

« | »

ie ,firefox 在 form 表單按 Enter 的差別 (用條碼機的問題)

2012-04-18 @ 16:58 in 學校網頁

今天在用條碼機讀取後送出表單,結果在 IE 網頁一直有問題,而在 firefox 及 Chrome 都沒有問題,查找的結果,才知道,原來用條碼讀取時,會直接送出 Enter,做送出表單的動作,因為我有用 submit 的 value 值,判斷新增或刪除的動作.

測試的結果,在 IE 用 Enter 送出表單,是不會將 submit 的值送出,所以判斷一直出錯,而 firefox,Chrome 用 Enter 送出表單,是會將 submit 的值送出,所以就沒有問題.

解決方法:不要用 submit 值判斷,而是增加一個 <input type='hidden' ....>做為判別.

迴響

ie ,firefox 在 form 表單按 Enter 的差別 (用條碼機的問題) | 豬窩

This article offers clear idea for the new visitors of blogging, that truly how to do running a blog.

作者 web hosting providers @ 08:48, 2020-07-18

ie ,firefox 在 form 表單按 Enter 的差別 (用條碼機的問題) | 豬窩

I've been exploring for a little for any high-quality articles or blog posts in this
sort of area . Exploring in Yahoo I ultimately stumbled upon this website.

Reading this info So i'm satisfied to exhibit that I have a very good uncanny feeling I found out just what
I needed. I so much certainly will make sure to don?t omit this site and provides it a glance regularly.

作者 web hosting providers @ 09:43, 2020-07-18

ie ,firefox 在 form 表單按 Enter 的差別 (用條碼機的問題) | 豬窩

Piece of writing writing is also a fun, if you be acquainted with
after that you can write otherwise it is difficult to write.

作者 website hosting services @ 09:16, 2020-07-22

ie ,firefox 在 form 表單按 Enter 的差別 (用條碼機的問題) | 豬窩

I am now not positive the place you're getting your information, but great topic.
I needs to spend some time studying much more or understanding more.
Thanks for excellent information I used to be looking for this
info for my mission.

作者 best web hosting @ 10:36, 2020-07-23

ie ,firefox 在 form 表單按 Enter 的差別 (用條碼機的問題) | 豬窩

Hey there! I could have sworn I've been to this blog before but after checking through some
of the post I realized it's new to me. Anyways, I'm definitely happy I found it and I'll be book-marking and checking back often!

作者 website hosting companies @ 08:52, 2020-07-26
發表迴響
 authimage