demo_tables.js 338 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14

    function delete_row(row){
        
        var box = $("#mb-remove-row");
        box.addClass("open");
        
        box.find(".mb-control-yes").on("click",function(){
            box.removeClass("open");
            $("#"+row).hide("slow",function(){
                $(this).remove();
            });
        });
        
    }