Flexible touch-optimized numeric keypad for web applications based on jQuery. One of the best things about jQuery.NumPad is that it can easily fit into most UI frameworks using jQuery by merely setting a few templates! The numeric keypad can be used to fill inputs, password fields, general div-elements or entire table columns.
Demos for use with jQuery mobile and Bootstrap are included.
The code is clean. For now, the code and the examples are the documentation. The properties are well commented and most of the code does not need comments.
- Include the plugin and the CSS in your header
<link rel="stylesheet" href="path_to_numpad_folder/jquery.numpad.css">
<script type="text/javascript" src="path_to_numpad_folder/jquery.numpad.js"></script>- Initialize numpads for every element you want to toggle a numeric keypad
function($){
$('selector1').numpad();
}jQuery.NumPad is an open source project originally by Andrej Kabachnik, has been forked by FeIronMonkey, and is licensed by Andrej Kabachnik under MIT.