上一页 1 ··· 6 7 8 9 10 11 12 下一页
摘要: 1、原生js写法 !function () { document.getElementById('bankCard').onkeyup = function (event) { var v = this.value; if(/\S{5}/.test(v)){ this.value = v.repla 阅读全文
posted @ 2018-09-24 11:25 web前端参天大圣 阅读(1309) 评论(0) 推荐(0) 编辑
摘要: $.fn.extend({ sfMessages: function(m) { $("p.tips").html('<span class="circle ioc absolute top0 left0"><span class="line absolute"></span></span>' + m 阅读全文
posted @ 2018-09-21 14:13 web前端参天大圣 阅读(222) 评论(0) 推荐(0) 编辑
摘要: var ImgObj=new Image(); ImgObj.src= 'http://192.168.10.6:8082/3D/SERVER_1_DELL_880.jpg'; if(ImgObj.fileSize > 0 || (ImgObj.width > 0 && ImgObj.height 阅读全文
posted @ 2018-09-21 12:28 web前端参天大圣 阅读(4101) 评论(0) 推荐(0) 编辑
摘要: <script> function getHiddenProp() { var prefixes = ['webkit', 'moz', 'ms', 'o']; // if 'hidden' is natively supported just return it if ('hidden' in d 阅读全文
posted @ 2018-09-21 12:26 web前端参天大圣 阅读(405) 评论(0) 推荐(0) 编辑
摘要: <script type="text/javascript"> //处理键盘事件 禁止后退键(Backspace)密码或单行、多行文本框除外 function forbidBackSpace(e) { var ev = e || window.event; //获取event对象 var obj = 阅读全文
posted @ 2018-09-21 12:26 web前端参天大圣 阅读(156) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="zh-cmn-Hans"> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0"> < 阅读全文
posted @ 2018-09-21 12:20 web前端参天大圣 阅读(620) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html><head><meta name="viewport" content="initial-scale=1.0, user-scalable=no" /><meta http-equiv="Content-Type" content="text/html; c 阅读全文
posted @ 2018-09-21 12:19 web前端参天大圣 阅读(1270) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html><head><meta charset="utf-8" /><meta name="viewport" content="initial-scale=1.0, user-scalable=no" /><title>测试定位</title><script ty 阅读全文
posted @ 2018-09-21 12:18 web前端参天大圣 阅读(374) 评论(0) 推荐(0) 编辑
摘要: <iframe style="float: right;" width="420" scrolling="no" height="60" frameborder="0" allowtransparency="true" src="http://i.tianqi.com/index.php?c=cod 阅读全文
posted @ 2018-09-21 12:17 web前端参天大圣 阅读(1249) 评论(0) 推荐(0) 编辑
摘要: //js引用部分<script src="../qrcode.js" type="text/javascript"></script>//body部分 <div class="qrcode-canvas" style="display: none;"></div><div class="qrcode 阅读全文
posted @ 2018-09-21 12:06 web前端参天大圣 阅读(1277) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 下一页