一、call 方法调用一个对象的一个方法,以另一个对象替换当前对象(其实就是更改对象的内部指针,即改变对象的this指向的内容)。Js代码call([thisObj[,arg1[, arg2[, [,.argN]]]]])参数thisObj可选项。将被用作当前对象的对象。arg1, arg2, , ...
分类:
移动开发 时间:
2015-10-15 12:59:47
阅读次数:
337
Anonymous UUID: 9E5F7DE8-3A83-2978-8AC0-2FD1C1DC1171Sat Oct 3 10:30:17 2015*** Panic Report ***panic(cpu 2 caller 0xffffff8006d6beed): "a freed zon...
分类:
系统相关 时间:
2015-10-09 22:38:39
阅读次数:
275
Anonymous UUID: 9E5F7DE8-3A83-2978-8AC0-2FD1C1DC1171Thu Oct 8 23:36:14 2015*** Panic Report ***panic(cpu 0 caller 0xffffff8000816df2): Kernel trap ...
分类:
系统相关 时间:
2015-10-09 21:25:55
阅读次数:
421
Anonymous UUID: 9E5F7DE8-3A83-2978-8AC0-2FD1C1DC1171Sat Oct 3 10:30:17 2015*** Panic Report ***panic(cpu 2 caller 0xffffff8006d6beed): "a freed zone e...
分类:
其他好文 时间:
2015-10-03 16:54:02
阅读次数:
2262
【WSAStartup function】ParameterswVersionRequested[in]The highest version of Windows Sockets specification that the caller can use. The high-order byte ...
分类:
其他好文 时间:
2015-09-29 11:11:52
阅读次数:
216
Anonymous UUID: 9E5F7DE8-3A83-2978-8AC0-2FD1C1DC1171Fri Aug 21 06:53:40 2015*** Panic Report ***panic(cpu 2 caller 0xffffff8015d6cf6d): "a freed zone ...
分类:
系统相关 时间:
2015-08-21 08:14:30
阅读次数:
285
//回车键事件 document.onkeydown=function(event){ var e = event || window.event || arguments.callee.caller.arguments[0]; ...
分类:
Web程序 时间:
2015-08-19 19:36:47
阅读次数:
132
直接上DEMO,不过IE中会提示加载ActiveX控件!
CSSJS弹出层效果,兼容所有浏览器
function show(obj,id) {
var objDiv = $("#"+id+"");
if(navigator.userAgent.indexOf("Firefox") > 0) {
var $E = function() {var c = $E.caller...
分类:
Web程序 时间:
2015-08-17 14:10:46
阅读次数:
226
先从一个简单的例子说起,一个简单的button控件如下:然后为其注册事件,这样的情况,怎么在javascript里获取event呢,特别是firefox的情况。请看:不出意外的话,在ie/ff下,上面例子都将输出INPUT,即是触发click事件节点的标签名,ie的event获取这里就不说了,重点说...
分类:
其他好文 时间:
2015-08-14 20:58:47
阅读次数:
294
---------------caller , apply , call , bindECMAScript 5 为函数新增了一个属性caller。caller中保存着调用当前函数的函数的引用,如果是在全局作用域中调用当前函数,则caller的值为nullfunction outer(){ inner...
分类:
Web程序 时间:
2015-08-13 01:05:49
阅读次数:
134