阅读背景:

Jquery事件性能与内存使用情况

来源:互联网 

I'm working on a completely ajax web project where a section content is always generated through dom manipulation or using jquery's load function. I had been using "live" but am very interested in moving away from "live" and using "on" for performance benefits. When a new page loads a whole new set of bindings required for that section also need to get loaded. The html sections have some parent doms (basically wrappers for different content areas of the webpage) that never change allowing me to do bindings on them for all future dom elements that will be created on the page. I'm working on a completely ajax web project wh




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: