jquery虚拟键盘
本例用到了
<link href="http://code.jquery.com/ui/1.9.0/themes/ui-darkness/jquery-ui.css" rel="stylesheet">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.js"></script>
<script src="http://code.jquery.com/ui/1.9.0/jquery-ui.min.js"></script>
<link href="css/keyboard.css" rel="stylesheet">
<script src="js/jquery.keyboard.js"></script>
<script src="js/jquery.mousewheel.js"></script>
XML/HTML Code
- <div id="wrap">
- <!-- keyboard input -->
- <input id="keyboard" type="text">
- </div>
JavaScript Code
- <script>
- $(function(){
- $('#keyboard').keyboard();
- });
- </script>
原文地址:http://www.freejs.net/article_biaodan_122.html