![]() Topic awaiting preservation: buttons (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: KY |
![]() Hey there, is it possible to program in javascript so when someone hits enter after typing in something the nearest button, or s designated button's action is started, such as when someone fills out a form and hitting enter would submit it. |
Paranoid (IV) Inmate From: Lebanon |
![]() code: <form>
|
Bipolar (III) Inmate From: KY |
![]() should the "event.which" be replaced with something specific for my code? |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
![]() No. |