From the point of view of JS JQ minor problems.

Click Delete-"Click OK -" remove the column that you clicked to delete

Mar.04,2021

.remove () .

< hr >

mind reading: when an event is triggered, if you use jQ event listening, you can use $(this) to get the DOM that triggered the event


// Promise
$("table").on("click", ".del", function(){
    var delTr = $(this).parents("tr");
    adminConfirm("?").then(function(){
        delTr.remove();
    });
});

minor changes, as said upstairs, add tags to make sure you delete them and then find marked data when deleting ps:. Delete tags when canceling.

Menu