摘要: 一、 基本数据类型:字符串、数字、布尔、Null、Undefined、symbol(ES6) 引用数据类型:对象、数组、Function等。 二、typeof它返回值是一个字符串,该字符串说明运算数的类型。 typeof (123) //"number"typeof ("123") // "stri 阅读全文
posted @ 2018-01-24 15:23 鱼之龙 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 1、命名冲突: 2、文件依赖: 阅读全文
posted @ 2016-07-25 10:32 鱼之龙 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 来自于csdn的好文章:http://blog.csdn.net/myhahaxiao/article/details/6952321 阅读全文
posted @ 2016-07-25 10:08 鱼之龙 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 移动端触摸滑动 使用说明在底部 上上上上上上上上上上上 20140813镜面的世界,终究只是倒影。看得到你的身影,却触摸不到你的未来 ... 阅读全文
posted @ 2015-12-01 11:06 鱼之龙 阅读(2600) 评论(0) 推荐(0) 编辑
摘要: //倒计时,分为时间格式和数字格式倒计时。带有具体格式/*使用示例$("#countDown").on("click",function(){ MY.countDown.getTime({ seconds:5,//倒计时数字 flag:"#countDown",//... 阅读全文
posted @ 2015-06-29 14:08 鱼之龙 阅读(244) 评论(0) 推荐(0) 编辑
摘要: /*全屏遮罩* 使用方法:* 显示:TC.shadow.show();* 隐藏:TC.shadow.hide();* */;(function(){ function addShadow( obj ) { if(typeof obj !== "object"){ ... 阅读全文
posted @ 2015-06-04 17:44 鱼之龙 阅读(441) 评论(0) 推荐(0) 编辑
摘要: http://jigsaw.w3.org/css-validator/css代码检查空空2015/5/1916:04:48http://validator.w3.org/#validate_by_urihtml代码检查 阅读全文
posted @ 2015-05-19 16:05 鱼之龙 阅读(258) 评论(0) 推荐(0) 编辑
摘要: /* * 返回顶部 * * 注:a链接需设置背景图片,或者其他可显示的返回顶部 */ var $t = $( '#goTop' ); var $h = 320; if ( !$t.length ) { return; } var handler = function( e ) { e.preve... 阅读全文
posted @ 2015-05-19 16:01 鱼之龙 阅读(234) 评论(0) 推荐(0) 编辑
摘要: //个人身份证function checkEnergyCard(self){ var allowancePersonValue= $(self).val(); //是否为空 if(allowancePersonValue==""){ MS.messShow("身份证不能为空"); return ... 阅读全文
posted @ 2015-05-19 09:16 鱼之龙 阅读(260) 评论(0) 推荐(0) 编辑
摘要: window.MS = window.MS || {};//判断平台类型和特性的属性;(function(){ var userAgent = navigator.userAgent || ''; MS.platform = MS.platform || {}; //判断是否为android平台 M... 阅读全文
posted @ 2015-05-15 10:17 鱼之龙 阅读(487) 评论(0) 推荐(0) 编辑