jquery delete table row

后端 未结 5 1559
后悔当初
后悔当初 2021-01-31 18:57

I have a table

5条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-31 19:08

    What you forgot to do is to set hash in your link. example:

    delete
    

    should be

    delete
    

    or

    return false;
    

    at end of your

    $(document).ready(function() {
        $("#favoriteFoodTable .deleteLink").on("click",function() {
            ...
            return false;
        });
    });
    

提交回复
热议问题
Food Name: Restaurant Name: