通过回车来防止用户提交表单
I have a survey on a website, and there seems to be some issues with the users hitting enter (I don't know why) and accidentally submitting the survey (form) without clicking the submit button. Is there a way to prevent this?
I'm using HTML, PHP 5.2.9, and jQuery on the survey.
转载于:https://stackoverflow.com/questions/895171/prevent-users-from-submitting-a-form-by-hitting-enter
Memor.の
2009/05/21 21:09- form-submit
- html5
- forms
- jquery
- 点赞
- 收藏
- 回答
满意答案
0个回复
