RELATEED CONSULTING
相关咨询
选择下列产品马上在线沟通
服务时间:8:30-17:00
你可能遇到了下面的问题
关闭右侧工具栏

新闻中心

这里有您想知道的互联网营销解决方案
jquery基础教程-jquery创建一个确认对话框

jquery基础教程-jquery创建一个确认对话框

10年积累的做网站、成都网站制作经验,可以快速应对客户对网站的新想法和需求。提供各种问题对应的解决方案。让选择我们的客户得到更好、更有力的网络服务。我虽然不认识你,你也不认识我。但先制作网站后付款的网站建设流程,更有澄江免费网站建设让你可以放心的选择与我们合作。

$(document).ready(function(){
$('.item .delete').click(function(){
varelem = $(this).closest('.item');
$.confirm({
'title': 'Delete Confirmation',
'message': 'You are about to delete this item.
It cannot be restored at a later time! Continue?',
'buttons': {
'Yes': {
'class': 'blue',
'action': function(){
elem.slideUp();
}
},
'No': {
'class': 'gray',
'action': function(){}// Nothing to do in this case. You can as well omit the action property.
}
}
});
});
});

文章详情(附demo和下载)




分享标题:jquery基础教程-jquery创建一个确认对话框
本文来源:http://scyingshan.cn/article/geioco.html