Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在线将数据输入到表单中,并希望为两个提交按钮中的每一个分配一个快捷方式。我使用 Mac 和 Firefox。有没有办法在 Scriptish、Applescript 或其他东西中做到这一点?
这是其中之一的来源:<<
谢谢
尝试使用 jQuery 热键
jQuery Hotkeys 让您可以在代码中的任何位置监视键盘事件,支持几乎任何组合键。
要将 Ctrl+c 绑定到函数 (f),例如:
$(document).bind('keydown', 'ctrl+c', f);