Libraryless. Click here for Pure Java version (28L/1K).
sS jquery_submitFormOnCtrlEnter() { ret [[if ((event.keyCode == 10 || event.keyCode == 13) && event.ctrlKey) $(this).closest('form').submit();]]; }
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1030963 |
Snippet name: | jquery_submitFormOnCtrlEnter (put in onkeydown) |
Eternal ID of this version: | #1030963/1 |
Text MD5: | 36d2ae7c969ca6ec7a9a702bc792a745 |
Transpilation MD5: | ea04bc1636a697283132a156c59889b2 |
Author: | stefan |
Category: | javax / html |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-04-15 17:51:22 |
Source code size: | 151 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 196 / 280 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |