jQuery插件可重新映射数字键盘 [英] jQuery plug-in to remap numeric keypad
本文介绍了jQuery插件可重新映射数字键盘的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否有一个jQuery插件可以重新映射数字小键盘中的点"键?目的是使它使用逗号或其他字符的语言打印小数点分隔符,而不是点.我想模仿某些桌面应用程序(例如MS Excel)的行为.
Is there a jQuery plug-in to remap the "dot" key in the numeric keypad? The purpose is to make it print a decimal separator, rather than a dot, in languages that use commas or other characters. I'd like to mimic the behaviour of some desktop applications like MS Excel.
(可以对输出字符进行硬编码.)
(It's okay to hard-code the output character.)
推荐答案
使用此jQuery插件,您可以配置用于数字键盘小数点分隔符的字符.
With this jQuery plugin you can configure what character to use for the numpad decimal separator.
这篇关于jQuery插件可重新映射数字键盘的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文