trparentNoderemoveChild(tr);
};var delTableRow = function(btn){
var tr = btnparentElementparentElement;
var tbody = trparentElement;
tbodydeleteRow(trrowIndex);
}
---------------------
<td>
<button class="btn btn-xs btn-default" onclick="delTableRow(this)"><%-- alert(${itemid}) delTableRow(this) ) --%><i class="icon-remove"></i> </button>
</td>
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)