recalc貌似只针对expression吧?没有用过,刚看了下描述!recalc Method ------------------------------------------------------------ Recalculates all dynamic properties in the current document.Syntaxdocument.recalc( [bForceAll])ParametersbForceAll Optional. Boolean that specifies one of the following values: false Default. Recalculates only those expressions that have changed since the last recalculation. true Recalculates all expressions in the document.
采用innerHTML来更新数据
CollectGarbage();
DHTML和DOM一直混用
INNERHTML不是任何地方都适用的哦
定时获取数据肯定会不断执行脚本delete也没用
大梅,有没有关于GC好一点的资料,学习ing
//对~~up下
而不是针对 DHTML的回收
不管是 document.createElement 还是document.write 都是创建DHTML Element
这些内存是DHTML DOM引擎管理的 就算没有使用而内存确仍然占用
IE下DHTML消亡好像只有在 窗口最小化时自动触发IE 最小化前使用 document.recalc() 好像能加大内存释放的效果
------------------------------------------------------------
Recalculates all dynamic properties in the current document.Syntaxdocument.recalc( [bForceAll])ParametersbForceAll
Optional. Boolean that specifies one of the following values: false Default. Recalculates only those expressions that have changed since the last recalculation. true Recalculates all expressions in the document.