如何在按下热键时调用javascript? [英] How to call javascript when hot key is pressed?

查看:53
本文介绍了如何在按下热键时调用javascript?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

I have one text box and how to set the hot key to that text box.now i click the hot key the text box value pass to java script function.
 
How to do it?





我尝试过的事情:



i在线询问如何操作。但是没有清楚地解决这个问题。



What I have tried:

i refer online to how to do it.but not get clearly for this problem.

推荐答案

check

GitHub - jeresig / jquery.hotkeys:jQuery热键 [ ^ ]

示例页面 [ ^ ]
check
GitHub - jeresig/jquery.hotkeys: jQuery Hotkeys [^]
examples page [^]


这篇关于如何在按下热键时调用javascript?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆