会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
darr
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
8
9
10
11
12
13
14
15
16
下一页
2015年8月25日
Function.caller
摘要: https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Function/caller非标准该特性是非标准的,请尽量不要在生产环境中使用它!概述返回调用指定函数的函数.该属性不是ECMA-262...
阅读全文
posted @ 2015-08-25 11:14 darr
阅读(274)
评论(0)
推荐(0)
2015年8月24日
模板引擎
摘要: http://ejohn.org/blog/javascript-micro-templating/http://itindex.net/detail/39743-%E9%80%89%E6%8B%A9-javascript-%E6%A8%A1%E6%9D%BF
阅读全文
posted @ 2015-08-24 14:06 darr
阅读(131)
评论(0)
推荐(0)
关于文字内容溢出用点点点(…)省略号表示
摘要: $(document).ready(function(){ //限制字符个数 $(".act_p2").each(function(){ var maxwidth = 20; if($(this).text().length > max...
阅读全文
posted @ 2015-08-24 13:53 darr
阅读(198)
评论(0)
推荐(0)
$( document ).ready()&$(window).load()
摘要: $( document ).ready()https://learn.jquery.com/using-jquery-core/document-ready/A page can't be manipulated safely until the document is "ready." jQuer...
阅读全文
posted @ 2015-08-24 12:29 darr
阅读(243)
评论(0)
推荐(0)
2015年8月22日
RESTful架构
摘要: http://www.ruanyifeng.com/blog/2011/09/restful.htmlhttp://www.zhihu.com/question/33959971
阅读全文
posted @ 2015-08-22 23:20 darr
阅读(123)
评论(0)
推荐(0)
2015年8月15日
HTTP 状态消息
摘要: 200 OK (from cache) 是浏览器没有跟服务器确认,直接用了浏览器缓存;而 304 Not Modified 是浏览器和服务器多确认了一次缓存有效性,再用的缓存。 我还是没搞清204和304的区别。。 http://www.w3.org/Protocols/rfc2616/rfc261
阅读全文
posted @ 2015-08-15 16:15 darr
阅读(256)
评论(0)
推荐(0)
2015年8月14日
使用闭包构建模块
摘要: var gLanuageName = "javaScript"; function func(){ var a = 2; if(a === 2){ var b = 3; } alert(b);//函数func作用域...
阅读全文
posted @ 2015-08-14 15:05 darr
阅读(213)
评论(0)
推荐(0)
2015年8月6日
preventDefault stopPropagation??
摘要: 棒棒哒~event.preventDefaulthttps://developer.mozilla.org/zh-CN/docs/Web/API/Event/preventDefaultstopPropagationhttps://developer.mozilla.org/zh-CN/docs/W...
阅读全文
posted @ 2015-08-06 13:48 darr
阅读(183)
评论(0)
推荐(0)
2015年8月5日
HTMl5 Document.querySelectorAll
摘要: .
阅读全文
posted @ 2015-08-05 17:35 darr
阅读(173)
评论(0)
推荐(0)
2015年8月1日
DOM判断节点时HTML节点和XML节点
摘要: 。
阅读全文
posted @ 2015-08-01 15:35 darr
阅读(193)
评论(0)
推荐(0)
上一页
1
···
8
9
10
11
12
13
14
15
16
下一页
公告