I want to remove all input labels with same class except one in div #tikersDiv
.
I got this script but it doesn't work:
$('#tikersDiv').children('label').each(function(i){
let removed = $('#id_' + (++i)).children('label').each(function(){
$(this).remove();
});
$(this).append($(removed[0]).html());
$(this).append($(removed[3]).html());
});