problem description
WebUploader initialization discovers the situation shown in the following figure through the review element after the page opens
nesting div blocks with n-layer class as webuploader-pick directly leads to display error
the environmental background of the problems and what methods you have tried
related codes
/ / Please paste the code text below (do not replace the code with pictures)
<div id="uploader_02" class="max">
<c:choose>
<c:when test="${bo.order.imgPath2!=null&&bo.order.imgPath2!="" }">
<div id="filePicker_2" class="max"><img height="100%" width="100%" src="<%=basePath%>${bo.order.imgPath2}" /></div>
</c:when>
<c:otherwise>
<div id="filePicker_2" class="max"></div>
</c:otherwise>
</c:choose>
</div>
initialized js
uploader_2 = WebUploader.create({
//
auto: true,
method:"POST",
fileNumLimit: 1,
// swf
swf: "/js/Uploader.swf",
//
server: "<%=basePath%>biz/controller/orderManagerController/imgUpload",
// [:"file"] name
fileVal:"upload",
//
// inputflash.
pick: "-sharpfilePicker_2",
//
accept: {
title: "Images",
extensions: "gif,jpg,jpeg,bmp,png",
mimeTypes: "image/*"
}
});
kneel down and beg your bosses for answers