【第一部分】:修改顶部的添加和编辑
var Controller = {
index: function () {
$('.btn-add').data("area",["50%","80%"]);
$('.btn-edit').data("area",["50%","80%"]);【第二部分】:修改每行数据的编辑按钮
table.on('post-body.bs.table',function () {
$('.btn-editone').data("area",["50%","80%"]);
}),
// 为表格绑定事件
Table.api.bindevent(table);<form action="save.php" method="post" target="nm_iframe"> &nbs...
https://3gimg.qq.com/lightmap/v1/marker/index.html?marker=coord:37.6767600000,112.7297800000&key=TKUBZ-D24AF-GJ4JY-JDVM2-IBYKK-KEBCU&referer=p...
<!-- 三个核心方法 openDatabase:这个方法使用现有数据库或创建...
代码1:<!--代码开始--> <script src="http://lib.sinaapp.com/js/jquery/1.9.1/jquery-1.9.1.min.js"></script> <script>...
二期项目中生成的简历二维码是使用canvs生成的,微信浏览器中不能识别二维码,只能扫码。懒的换phpqrcode,于是转canvs。//设置一个url var url = "{yun:}$config.sy_weburl{/yun}/mingli/index....
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>点击复制</title> </head>...