Pain Posted January 24, 2013 Share Posted January 24, 2013 (edited) Hi there. I have a question regarding jQuery remove() method. I have a lot of stuff being retrieved with ajax (basically every 10 seconds) so the browser eventually starts slowing down. I want to somehow remove the old elements before i retrieve new ones. Would remove() help? Does it completely remove the element? Edited January 24, 2013 by Pain Quote Link to comment https://forums.phpfreaks.com/topic/273601-jquery-remove/ Share on other sites More sharing options...
.josh Posted January 26, 2013 Share Posted January 26, 2013 According to the documentation, it will remove the target element and all elements within it, including any events bound to it. As always, the best way to find out if it works for you is to try it out. Quote Link to comment https://forums.phpfreaks.com/topic/273601-jquery-remove/#findComment-1408370 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.