2 Star 10 Fork 1

deeka / jsComfirm

Create your Gitee Account
Explore and code with more than 8 million developers,Free private repositories !:)
Sign up
Clone or Download
contribute
Sync branch
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

jsConfirm v1.0

jsConfirm插件主要功能模拟JS系统函数confirm(),增强用户体验。

作者

喵了个咪

版本

v1.0

参数

###callback 类型:Function
说明:确定后的回调函数

###options 类型:Object
说明:可选参数

调用方法

var opts = {
    confirmText: '是否确认此操作?',
    submitBtnText: '确认',
    cancelBtnText: '取消'
};
$('a[aid]').jqConfirm(function($btn){
    var $this = $(this);
    alert('文章[ID:'+$this.attr('aid')+']'+$btn.text()+'成功');
}, opts);

在线演示

http://www.hdj.me/demos/jsconfirm/index.html

About

jsConfirm插件主要功能模拟JS系统函数confirm(),增强用户体验。 expand collapse
JavaScript
Apache-2.0
Cancel

Releases

No release

jsComfirm

Contributors

All

Activities

Load More
can not load any more
JavaScript
1
https://gitee.com/deeka/jsComfirm.git
git@gitee.com:deeka/jsComfirm.git
deeka
jsComfirm
jsComfirm
master

Search

E71a60c3 8189591 Df7b7c6b 8189591