¡@

Home 

2014/10/16 ¤W¤È 12:04:40

jquery Programming Glossary: leaktest

Why does jquery leak memory so badly?

http://stackoverflow.com/questions/2450761/why-does-jquery-leak-memory-so-badly

jsapi script script type text javascript google.load 'jquery' '1.4.2' script script type text javascript var counter 0 leakTest function leakTest .ajax url ' html delme.x' type 'GET' success incrementCounter function incrementCounter data if counter.. type text javascript google.load 'jquery' '1.4.2' script script type text javascript var counter 0 leakTest function leakTest .ajax url ' html delme.x' type 'GET' success incrementCounter function incrementCounter data if counter 1000 counter.. success incrementCounter function incrementCounter data if counter 1000 counter '#counter' .text counter setTimeout leakTest 100 else '#counter' .text 'finished.' script head body div Why is memory usage going up div div id counter div body html..