If you're not on the latest version of jQuery (1.4.2 or earlier), you may experience an error with the .empty() method, "'events' is null or not an object". This bug is fixed in later versions, but if you're like me, your project doesn't allow you to plug a new version in.
Luckily, there is an easy fix. Just use .html() to set the HTML to an empty string.
This will acheive the same result and you can keep on using your currently installed jQuery file.