$target.remove() can remove the element,but now I want the process to be down with some feel animation,how to do it?
$target.remove()
I've modified Greg's answer to suit my case, and it works. Here it is:
$("#note-items").children('.active').hide('slow', function(){ $("#note-items").children('.active').remove(); });