且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

无法使用jquery确认对话框提交页面

更新时间:2023-02-11 14:38:36

('#submitForm')。submit() class = btn btn-white btn-默认btn-round >
< i class = ace-icon fa fa-times red2 > < / i >
取消
< / button >
< / span >

}
< div id = 对话框确认 title = 清空回收站? >
< p > < span class = ui-icon ui-icon-alert style = 浮动:左;保证金:0 7px 20px 0; > < / span > 这些项目将被永久删除,无法恢复。您确定吗?< / p >
< / div >
@section脚本
{
< script src = 〜/ Global / Template / assets /js/date-time/bootstrap-datepicker.js\"> < / script >
< script src = 〜/ Global / Template / assets / js / bootstrap-confirm.js > < / script >
< script src = 〜/ Global / Template / assets / js / bootstrap-confirm.min.js > < / script >
< link rel = stylesheet href = // code .jquery.com / ui / 1.11.4 / themes / smoothness / jquery-ui.css >
< script src = // code.jquery.com/jquery-1.10.2.js\" > < / script >
< script src = // code.jquery.com/ui/1.11.4/jquery-ui.js\"> < / 脚本 >
< script type = text / javascript >
('#submitForm').submit()" class="btn btn-white btn-default btn-round"> <i class="ace-icon fa fa-times red2"></i> Cancel </button> </span> } <div id="dialog-confirm" title="Empty the recycle bin?"> <p><span class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 20px 0;"></span>These items will be permanently deleted and cannot be recovered. Are you sure?</p> </div> @section Scripts { <script src="~/Global/Template/assets/js/date-time/bootstrap-datepicker.js"></script> <script src="~/Global/Template/assets/js/bootstrap-confirm.js"></script> <script src="~/Global/Template/assets/js/bootstrap-confirm.min.js"></script> <link rel="stylesheet" href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css"> <script src="//code.jquery.com/jquery-1.10.2.js"></script> <script src="//code.jquery.com/ui/1.11.4/jquery-ui.js"></script> <script type="text/javascript">


function (){


#btnDelete)。on( click function (e){
e.preventDefault();
("#btnDelete").on("click", function (e) { e.preventDefault();