$(document).ready(function() {
$('.abc').click(function() {
var status = $("#<%=ddlstatus.ClientID%>").val;
if (status == "Prepared") {
var _Action = confirm('Do you really want to cancel this payment ? All pending money will be available in the retention account of the contractor ');
if (_Action) {
$.blockUI({ css: {
border: 'none',
padding: '15px',
backgroundColor: '#000',
'-webkit-border-radius': '10px',
'-moz-border-radius': '10px',
opacity: .5,
color: '#fff'
}
});
return true;
}
else {
return false;
}
}
});
});
当我运行此JavaScript时我收到确定按钮,但我还想添加取消按钮。加上我打电话背后在javascript中添加一个“确定”和“取消”按钮
“但我想添加一个取消按钮以及”?不确认给你一个取消按钮? –
不,我是没有t取消取消按钮 – vini
您还获得了哪些其他按钮? – Ian