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