jquery中confirm插件使用

$('.example-hide-4').on('click', function () {
                        $.confirm({
                            title: false,// hides the title.
                            content: 'If you hide everything, what can do you to close the modal?. <br>"backgroundDismiss" is active on this one, click outside to close.',
                            cancelButton: false,// hides the cancel button.
                            confirmButton: false,// hides the confirm button.
                            backgroundDismiss: true,//点击背景板弹框消失
                            closeIcon: false// hides the close icon.
                        });
                    });

提供学习路径:http://www.jq22.com/demo/jqueryConfirm20160413/

猜你喜欢

转载自blog.csdn.net/sayoko06/article/details/80263906
今日推荐