input标签只能输入数字JQuery控制
摘要:
<input type="text" id="txt1"> <script type="text/javascript"> $("#txt1").numeral(); </script>$.fn.numeral = function(){ $(this).css("ime-mode","disabled"); this.bind("keypress",function(){ if(event.keyCode == 46) 阅读全文
posted @ 2012-04-11 17:09 菜中菜 阅读(819) 评论(0) 推荐(0)
浙公网安备 33010602011771号