[html] <div id=" ('divImg' +did) " title="上傳圖片" class="UploadImg" ondrop="ImgDrop(event,' did "> /*** drap and drop****/ <input id=" ('Img' +did) " name="Img" type="file" title=" ('file' +did) " > <label for=" ('Img' +did) ">點我上傳<em>或拖拉圖片檔案至此</em></span></label> <a class="BtnDel" title="刪除" onclick="DelPic(' did ');"></i>刪除</a> <img id=" ('imgPreview' +did) " style="display: none;" src="" alt="@item.Title"> /***end drap and drop****/ </div> <div id=" ('errFile' +did) " class="MsgError" tabindex="0"><span><i class="icon-error"></i></span></div> [js] var filelist = []; //點擊上傳 $(&quo