04 2016 档案

摘要:1.html代码 <div id="qrcode" style="width:200px; height:200px;position: fixed;bottom: 40%; right: 20%;"></div> 2.引入外部js文件 <script src="QRCode.js"></scrip 阅读全文

posted @ 2016-04-20 11:31 CeleryCabbage 阅读(729) 评论(0) 推荐(0)

摘要:1.html代码 <input type="number" id="mobileNo" placeholder="请输入手机号" /> <input type="button" id="btnGetCode" style="background-color:#68BE02;color: #FFFFF 阅读全文

posted @ 2016-04-20 11:07 CeleryCabbage 阅读(433) 评论(0) 推荐(0)

摘要:一、校验数字的表达式 1 数字:^[0-9]*$ 2 n位的数字:^\d{n}$ 3 至少n位的数字:^\d{n,}$ 4 m-n位的数字:^\d{m,n}$ 5 零和非零开头的数字:^(0|[1-9][0-9]*)$ 6 非零开头的最多带两位小数的数字:^([1-9][0-9]*)+(.[0-9]{1,2})?$ 7 带1-2位小数的正数或负数:^(\-)?\d+(\.\d{1,... 阅读全文

posted @ 2016-04-12 14:20 CeleryCabbage 阅读(1949) 评论(0) 推荐(0)

导航