Enter button handling 2 forms

On 11-10-2004, in Coding, JavaScript, by Alex

No <input type=”submit”> within a form?
onkeydown="if(event.keyCode==13)return yourFunction();"
or smth like this 😉

 

Comments are closed.