摘要: 只能输入数字:“^[0-9]*$” 只能输入n位的数字:“^/d{n}$” 只能输入至少n位数字:“^/d{n,}$” 只能输入m-n位的数字:“^/d{m,n}$” 只能输入零和非零开头的数字:“^(0|[1-9][0-9]*)$” 只能输入有两位小数的正实数:“^[0-9]+(.[0-9]{2} 阅读全文
posted @ 2011-11-17 15:52 安培昌浩 阅读(128) 评论(0) 推荐(0)
摘要: 1: window.open<!--window.open('page.html', 'newwindow', 'height=100, width=400, top=0,left=0, toolbar=no, menubar=no, scrollbars=no, resizable=no,loca 阅读全文
posted @ 2011-11-17 12:05 安培昌浩 阅读(110) 评论(0) 推荐(0)