[jQuery] question about remove()
Hi, all
I used a lot of remove to replace all td except the fist one of a
table's row with user interactive. such as followings:
$.ajax({
url: the_url,
success: function(xreturn_val){
if(check_ajax_resp(xreturn_val) === true){
$('#list_body [name=sel_list_rec]:checked')
.parent().siblings().remove()
.end().after(xreturn_val.substr(3))
.end().removeAttr('disabled')
.change();
};
}//success:
});//$ajax
According to jquery document said "This ,remove(), does NOT remove
them from the jQuery object, allowing you to use the matched elements
further". Don't know exactly what it means. Anyway after frequent
changes, will it leave some garbage in jquery? Thank you in advance!
Jack