摘要: https://segmentfault.com/a/1190000003902899 tag:立即执行函数 http://www.cnblogs.com/TomXu/archive/2011/12/29/2290308.html tag:汤姆大叔 函数声明 函数表达式 https://develo 阅读全文
posted @ 2016-06-06 18:55 53455121 阅读(199) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/rainman/archive/2009/04/28/1445687.html tag:作用域链 作用域 声明提升 全局变量 http://www.liaoxuefeng.com/wiki/001434446689867b27157e896e74d51a 阅读全文
posted @ 2016-06-06 11:20 53455121 阅读(156) 评论(0) 推荐(0) 编辑
摘要: Ajax 跨域访问post 请求,在服务器却得到的总是options请求 因为此post请求的 content-type不是one of the “application/x-www-form-urlencoded, multipart/form-data, or text/plain”, 所以Pr 阅读全文
posted @ 2016-05-30 13:52 53455121 阅读(506) 评论(0) 推荐(0) 编辑
摘要: C#中的时间差:TimeSpan 1 string strBirthday = "1987-10-01 00:00:00"; 2 string strThisYearBirthday = "2015-10-01 00:00:00"; 3 4 ... 阅读全文
posted @ 2015-03-17 23:09 53455121 阅读(1108) 评论(0) 推荐(0) 编辑
摘要: 什么是Unix时间戳?Unix时间戳(英文为Unix epoch, Unix time, POSIX time 或 Unix timestamp)是从1970年1月1日(UTC/GMT的午夜)开始所经过的秒数,不考虑闰秒。注:javascript:Math.round(new Date().getT... 阅读全文
posted @ 2015-03-17 23:05 53455121 阅读(2185) 评论(0) 推荐(0) 编辑
摘要: 什么是事件?事件(Event)是JavaScript应用跳动的心脏 ,也是把所有东西粘在一起的胶水。当我们与浏览器中 Web 页面进行某些类型的交互时,事件就发生了。事件可能是用户在某些内容上的点击、鼠标经过某个特定元素或按下键盘上的某些按键。事件还可能是 Web 浏览器中发生的事情,比如说某个 W... 阅读全文
posted @ 2015-03-16 00:29 53455121 阅读(757) 评论(0) 推荐(0) 编辑
摘要: 依赖的脚本文件 1 <script src="../Javascript/jquery-1.11.1.min.js" type="text/javascript"></script> 2 <script src="../Javascript/jquery.form.js" type="text/ja 阅读全文
posted @ 2015-03-14 18:57 53455121 阅读(24086) 评论(1) 推荐(3) 编辑
摘要: 1、打开注册表开始---运行--regedit2、查找:HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders 阅读全文
posted @ 2014-12-18 11:16 53455121 阅读(314) 评论(0) 推荐(0) 编辑
摘要: C#字符串连接常用的四种方式:StringBuilder、+、string.Format、List。1.+的方式string sql = "update tableName set int1=" + int1.ToString() + ",int2=" + int2.ToString() + ",i... 阅读全文
posted @ 2014-04-20 17:12 53455121 阅读(25650) 评论(0) 推荐(2) 编辑
摘要: 区别:AddRange改变调用该方法的List对象;Concat创建一个新的List,Concat返回IEnumerable对象,需要ToList()创建一个新的List另外:Union返回一个IEnumerable对象,包含两个输入序列中的非重复元素。http://stackoverflow.com/questions/100196/net-listt-concat-vs-addrangeIEnumerable 阅读全文
posted @ 2013-11-10 11:41 53455121 阅读(1392) 评论(0) 推荐(0) 编辑