本帖最后由 杨永昊 于 2019-5-21 18:07 编辑
各位好,我想问一下我的class=“FileUpload”就可以出来选择文件的框框,但是换成class="uc-multiupload"就不行了,下面贴一下代码,各位能帮我看下嘛。添加的js文件:boot.js也添加了 <script src="<%=request.getContextPath()%>/scripts/miniui/swfupload.js" type="text/javascript"></script> <script src="<%=request.getContextPath()%>/scripts/multiupload/src/multiupload.js" type="text/javascript"></script> <link src="<%=request.getContextPath()%>/scripts/multiupload/src/multiupload.css" rel="stylesheet" type="text/css"/>
jsp-body部分
<div id="zz" name="zz" class="uc-multiupload" style="width:100%; height:100px;" enctype="multipart/form-data" _autoUpload="true" onuploaderror="onUploadError" onuploadsuccess="onUploadSuccess" uploadurl="<%=request.getContextPath()%>/rest/gyssq/uploadZzFile" flashurl="<%=request.getContextPath()%>/scripts/miniui/swfupload.swf"> </div>
|