开发者

How to create hot key

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜