Let\'s say that I define an element
$foo = $(\'#foo\');
and then I call
$foo.remove()
from some event. My
Why not just: if( $('#foo').length === 0)... ?
if( $('#foo').length === 0)...