Community

Learning jQuery 1.4: Remove() vs. Detach()

(Ben Nadel) A few years ago, I found out that using the jQuery methods, empty() and remove(), would unbind any existing event handlers on the given nodes in an attempt to prevent memory leaks. As I was reading up on the changes implemented in jQuery 1.4, however, I found out that the remove() method

Read More - Register for Free Membership