Jquery auto refresh div

后端 未结 3 1972
走了就别回头了
走了就别回头了 2020-12-16 04:45

Jquery auto refresh is using up a LOT of browser memory. Is there a way to stop this. I had a 2 div refreshing every 3 seconds but I moved it up to 9 and 15 seconds, It help

3条回答
  •  借酒劲吻你
    2020-12-16 05:33

    Although an answer has been approved but I should tell you that. I had the same problem.

    I found the problem in src of JQuery file. I used the JQuery site url as my source and yup it increased my computer usage to 99%. But then I downloaded the whole JQuery Script and saved it in my website directory, I used that in my source and then there was no problem with computer usage or memory. Try that too..

提交回复
热议问题