jQuery 标签 jquery.bs_label
- 授权协议: LGPL
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: http://git.oschina.net/nightwish/jquery.bs_label
- 软件文档: http://git.oschina.net/nightwish/jquery.bs_label
软件介绍
已作为http://www.oschina.net/p/jQuery-eventModuleCraft的一个模块
jquery.bs_label 调用即可自动生成标签,点标签调用回调,简单的生成一组标签使用。
使用方法
初始化:
$("#dome").bs_label({
//label数据
"data": [
{"val": "a", "name": "a", "type": "default"},
{"val": "b", "name": "b", "type": "primary"},
{"val": "c", "name": "c", "type": "success"},
{"val": "d", "name": "d ", "type": "info"},
{"val": "e", "name": "e", "type": "warning"},
{"val": "f", "name": "f", "type": "danger"}
],
//加载后自动点击的label的val
"clickVal": "a",
//点击后的回调
"callBack": function (e, dName, dVal) {
console.log(arguments);
}
});
选择一个标签
$("#dome").bs_label("checked","f")
切换禁用
$("#dome").bs_label("disable"[,true/false])
Web Security Testing Cookbook
Paco Hope、Ben Walther / O'Reilly Media / 2008-10-24 / USD 39.99
Among the tests you perform on web applications, security testing is perhaps the most important, yet it's often the most neglected. The recipes in the Web Security Testing Cookbook demonstrate how dev......一起来看看 《Web Security Testing Cookbook》 这本书的介绍吧!
