开发者

How to create hot key

开发者 https://www.devze.com 2023-03-15 06:30 出处:网络
In my Grails application called fleet management system trip creation is the basic function. I want to provide hot key ( like Ctrl+T, Alt+Ctrl+Delete), on pressing the hot k开发者_开发技巧ey it should

In my Grails application called fleet management system trip creation is the basic function. I want to provide hot key ( like Ctrl+T, Alt+Ctrl+Delete), on pressing the hot k开发者_开发技巧ey it should open trip creation page. Is there anyway to do that using jquery ? how about Ctrl+Y key combination ?


This plugin looks viable

Example:

$(document).bind('keydown', 'Ctrl+c', fn);
0

精彩评论

暂无评论...
验证码 换一张
取 消