see this code
$(function() {
$('.do').deleteTable({
parent: $(".do").parentsUntil("#did")
});
});
its works but if i make it
$(function() {
$('.do').deleteTable({
parent: $(this).parentsUntil("#did")
});
});
not works; why? i replace $(".do") to $(this)