上一页 1 ··· 6 7 8 9 10 11 12 13 14 下一页
摘要: 常见格式:(function() { /* code */ })();解释:包围函数(function(){})的第一对括号向脚本返回未命名的函数,随后一对空括号立即执行返回的未命名函数,括号内为匿名函数的参数。作用:可以用它创建命名空间,只要把自己所有的代码都写在这个特殊的函数包装内,那么外部就不 阅读全文
posted @ 2018-01-04 15:27 铜镜123 阅读(412) 评论(0) 推荐(0) 编辑
摘要: 检测数据类型typeof var message = "some string";alert(typeof(message)); // "string" Number 类型 isNaN() 调用对象的 valueOf() 方法 toString() 数值转换 有 3 个函数可以把非数值转换为数值: 阅读全文
posted @ 2017-12-22 12:27 铜镜123 阅读(88) 评论(0) 推荐(0) 编辑
摘要: noscript显示有两种情况 浏览器不支持脚本; 浏览器支持脚本,但是脚本被禁用。 阅读全文
posted @ 2017-12-21 16:30 铜镜123 阅读(237) 评论(0) 推荐(0) 编辑
摘要: <script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script><script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js" 阅读全文
posted @ 2017-12-20 14:35 铜镜123 阅读(464) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-09-29 15:51 铜镜123 阅读(78) 评论(0) 推荐(0) 编辑
摘要: HBuilder http://www.dcloud.io/ node.js中文网 http://nodejs.cn/ react中文网 http://www.react-cn.com/docs/getting-started.html 阮一峰 http://www.ruanyifeng.com/b 阅读全文
posted @ 2017-09-26 11:17 铜镜123 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 1 html,body,div,ul,li,ol,a,input,textarea,p,dl,dt,dd{margin:0;padding:0;} 2 ul li{list-style: none;} 3 a{text-decoration: none;cursor: pointer;} 4 html{height: 100%;} 5 body{height: 100%;background: ... 阅读全文
posted @ 2017-09-21 16:49 铜镜123 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 当用微信支付点确定时,要判断移动端是否安装微信,有大神会判断吗? 阅读全文
posted @ 2017-09-15 17:39 铜镜123 阅读(289) 评论(0) 推荐(0) 编辑
摘要: 兼容ie 阅读全文
posted @ 2017-09-15 14:39 铜镜123 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 1 2 3 4 5 6 37 38 39 40 41 42 43 44 45 46 47 48 ... 阅读全文
posted @ 2017-09-15 14:30 铜镜123 阅读(291) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 下一页