摘要:
var checker ; function myFunc(){ if(checker){ checker(); } alert("do myFunc:"+str);//alert_A var str = "test."; if(!checker){ checker = function(){ alert("do Check:"+str);//alert_B } } //装函数实例自身的一个引用... 阅读全文
posted @ 2013-01-09 21:15
csdnbbs
阅读(602)
评论(0)
推荐(0)
摘要:
<html><head><style> #div{ width:expression(document.body.clientWidth - 300); background-color:red; height:200px; }</style><script> function leakMemory(){ var parentDiv = document.createElement("<div onclick='foo()'>"); parentDiv.bigString = new A 阅读全文
posted @ 2013-01-09 20:22
csdnbbs
阅读(145)
评论(0)
推荐(0)

浙公网安备 33010602011771号