Bootstrap 模态框 参数问题 时间配置
$('#update-degree').on('show.bs.modal', function (event) { var modal = $(this); modal.find('.modal-title').text("编辑餐次详情"); var button = $(event.relatedTarget) // Button that triggered the modal if (button.data("operator") =="add") { } else { }
modal.find('.modal-body input').focus(); });
$("#DeteAt").datepicker({ autoclose: true,language: 'zh-CN', todayBtn: true, todayHighlight: true,format: 'yyyy-mm-dd' })
$.DateTimeFormat(new Date(full.TimeAt), "HH:mm:ss")
// 刷新报表
App.TableDest.ajax.reload();
//获取表格内选中check 的值
var Check = $("table input[type=checkbox]:checked");//在table中找input下类型为checkbox属性为选中状态的数据 Check.each(function () {//遍历 var row = $(this).parent("td").parent("tr");//获取选中行 var id = row.find("[name='Sid']").html();//获取name='Sid'的值 var sname = row.find("[name='Sname']").html(); })
