引用文件!--------
<link rel="stylesheet" type="text/css" href="jqueryConfirm/css/jq22-demo.css">
<link rel="stylesheet" href="jqueryConfirm/demo/libs/default.min.css">
<link rel="stylesheet" href="jqueryConfirm/demo/demo.min.css">
<link rel="stylesheet" type="text/css" href="jqueryConfirm/css/jquery-confirm.css" />
<script src="jqueryConfirm/js/jquery.sticky.min.js"></script>
<script src="jqueryConfirm/demo/libs/pretty.js"></script>
<script type="text/javascript" src="jqueryConfirm/js/jquery-confirm.js"></script>
Js代码!--------
$.confirm({ title: "标题", //false 去掉标题 content: '确认删除该信息?', confirm: function () {//点击确认 ajax请求后台 $.ajax({ type: 'POST', url: "@Request.RawUrl", dataType: "json", data: { guid: '@guid', op: 'deleteData', UUID: item.UUID } }).done(function (response) { if (!response.Success) {}
}); }, cancel: function () {//点击取消不做任何操作 }
})
!---------------------------------------------------------------------------------------------------
控件下载地址:https://pan.baidu.com/s/167G5oCHfglt-Lxx-BC8s0A