利用Jquery删除是提示"确认删除"

瞧瞧看看:   https://mobile.yangkeduo.com/mall_page.html?mall_id=129221094

<a href="" onclick='return del();'>删除</a>

<script>

function del()

{

    if(confirm("确定要删除吗?"))

    {

        return true;

    }

    else

    {

        return false;

    }

}

</script>

猜你喜欢

转载自blog.csdn.net/weixin_39616995/article/details/80692911