上一页 1 ··· 8 9 10 11 12 13 14 15 16 下一页
摘要: https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Function/caller非标准该特性是非标准的,请尽量不要在生产环境中使用它!概述返回调用指定函数的函数.该属性不是ECMA-262... 阅读全文
posted @ 2015-08-25 11:14 darr 阅读(265) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(127) 评论(0) 推荐(0) 编辑
摘要: $(document).ready(function(){ //限制字符个数 $(".act_p2").each(function(){ var maxwidth = 20; if($(this).text().length > max... 阅读全文
posted @ 2015-08-24 13:53 darr 阅读(193) 评论(0) 推荐(0) 编辑
摘要: $( 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 阅读(236) 评论(0) 推荐(0) 编辑
摘要: http://www.ruanyifeng.com/blog/2011/09/restful.htmlhttp://www.zhihu.com/question/33959971 阅读全文
posted @ 2015-08-22 23:20 darr 阅读(117) 评论(0) 推荐(0) 编辑
摘要: 200 OK (from cache) 是浏览器没有跟服务器确认,直接用了浏览器缓存;而 304 Not Modified 是浏览器和服务器多确认了一次缓存有效性,再用的缓存。 我还是没搞清204和304的区别。。 http://www.w3.org/Protocols/rfc2616/rfc261 阅读全文
posted @ 2015-08-15 16:15 darr 阅读(244) 评论(0) 推荐(0) 编辑
摘要: var gLanuageName = "javaScript"; function func(){ var a = 2; if(a === 2){ var b = 3; } alert(b);//函数func作用域... 阅读全文
posted @ 2015-08-14 15:05 darr 阅读(209) 评论(0) 推荐(0) 编辑
摘要: 棒棒哒~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 阅读(179) 评论(0) 推荐(0) 编辑
摘要: . 阅读全文
posted @ 2015-08-05 17:35 darr 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 。 阅读全文
posted @ 2015-08-01 15:35 darr 阅读(183) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 下一页