//新增网址信息
function AddSitInfo(a) {
var obj = $(a).closest("td[name='POIRestaurant_Reference_URL']");
if ($(obj).find("[name='div_SiteModel']").find("div").length < 7) {
var copystr = $(obj).find("[name='SiteInfo_divCopy']").find("div").clone();
$(obj).find("[name='div_SiteModel']").append(copystr);
}
else {
alert("週數只能新增7組!")
}
}
![](https://img2024.cnblogs.com/blog/35695/202408/35695-20240826070647288-243310440.jpg)