var imgs = document.getElementById("imgs"); //wb.InsertHTML("form1", "<div id='imgs'></div>")
//imgs.innerHTML = "<img src='" + images.localId[0] + "' width='120px' height='120px'/><input type='hidden' name='" + images.serverId[0] + "' id = '" + images.serverId[0] + "'/>"
imgs.innerHTML += "<img src='" + images.localId[0] + "' width='120px' height='120px'/><input type='hidden' name='" + images.serverId[0] + "' value='" + images.serverId[0] + "'/>"
我会向这里面插入一些图片作为预览,现在想判断一下,如果imgs里面为空的时候,我就给用户一个提示“至少插入一张图片”