var operate=function(row,index){
var ope = "<a href='#' onclick='update(\"" + row + "\")'>修改</a> | <a href='javascript:void(0)'>删除</a>";
return ope;
}
var html = '<`p`>托盘编号:' + code + '</p>' +
'<div style="width:100%;height: 80px;text-align: center">' +
'<input class="form-control" type="text" id="sub_nub" placeholder="请输入封装数量..." style="float: left;width: 60%;">' +
' <button type="button" id="sub" class="btn btn-primary" style="text-align: center" >确认数量</button> ' +
'</div><span id="alert_msg"></span>';
$('#editModal1').modal('show');
/!*显示界面*!/
$('#editForm1').html(html);
/!*显示新的小窗口*!/
$('#ModalLabel1').html("确认封盘数量");
js拼接html
最新推荐文章于 2024-05-20 15:31:49 发布