摘要:
Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1event.keycode值大全 2 1keycode 8 = BackSpace BackSpace 3 2keycode 9 = Tab Tab 4 3keyco... 阅读全文
摘要:
只能输入数字和小数点 function clearNoNum(obj) { //先把非数字的都替换掉,除了数字和. obj.value = obj.value.replace(/[^\d.]/g,""); //必须保证第一个为数字而不是. obj.value = obj.value.replace(/^\./g,""); //保证只有出现一个.而没有多个. obj.va... 阅读全文
摘要:
检测键盘的按键 阅读全文
摘要:
Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1using System; 2using System.Data; 3using System.Configuration; 4using System.Web; ... 阅读全文