M4DM4X
Elite Member
- Jan 21, 2015
- 2,911
- 1,753
Hi guys,
The form below is working fine when you click on submit with the mouse, but not when you click with the keyboard Enter key.
I found a solution on stackoverflow but I don't know to implement it, my knowledge in this field is too limited : https://stackoverflow.com/questions/20484738/submit-form-on-enter-key-with-javascript
Could you please help me modify the script so it accepts the 2 ways (keyboard+mouse) thanks a lot
Cheers
The code : https://pastebin.com/mEjgj6m9
(sorry I can't paste it here it doesnt seem to work even with the CODE tag)
The form below is working fine when you click on submit with the mouse, but not when you click with the keyboard Enter key.
I found a solution on stackoverflow but I don't know to implement it, my knowledge in this field is too limited : https://stackoverflow.com/questions/20484738/submit-form-on-enter-key-with-javascript
Could you please help me modify the script so it accepts the 2 ways (keyboard+mouse) thanks a lot
Cheers
The code : https://pastebin.com/mEjgj6m9
(sorry I can't paste it here it doesnt seem to work even with the CODE tag)