var i=${labelIndex}
var tr_model = '<tr class="hover edit">'+
'<td class="w48"><input type="checkbox" class="isadd" /></td>'+
'<td class="w48 listorder"><input type="text" name="labelList[key].listorder" value="0" /></td>'+
'<td class="w270 name"><input type="text" name="labelList[key].name" value="" /></td>'+
'<td class="w150 align-center"><a onclick="remove_tr($(this))" href="JavaScript:void(0)">移除</a></td>'+
'</tr>'
$("#add_type").click(function(){
$('#tr_model >tr:last').after(tr_model.replace(/key/g,i))
addLabelRule($('#tr_model >tr:last'))
i++
$('#labelCount').val($('#tr_model tr').length - 1)
})
<div class="easyui-tabs" style="width:1100pxheight:850pxpadding:10px, 10px, 10px, 10px," id="tab" data-options="fit:true"><div style="background:#D1EEEE" title="基本信息" id="tabControl1" style="text-align: centerborder: 0px solid" data-options="selected:true">
<div>
<div>
<script type="text/javascript">
$('#tab').tabs('add',{
title: '酒店图片',
content: '<iframe src="'+地址+'" scrolling="auto" frameborder="0" style="width:100%height:100%"></iframe>',
closable: false
})
</>
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)