Pain Posted January 24, 2013 Share Posted January 24, 2013 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? 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. Link to comment https://forums.phpfreaks.com/topic/273601-jquery-remove/#findComment-1408370 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.