附件上傳提示刪除成功但是附件依然存在
阿新 • • 發佈:2018-11-30
附件上傳提示刪除成功但是附件依然存在 2018年10月11日 13:58 無法刪除附件jsp程式碼
<div id="attachment-content" style="width: 100%; margin: auto;"> <div class="attachment-menu"> <div class="title"> <h4>附件</h4> <div class="button-groups"> <button class="btn btn-positive upload-attchment" type="button">上傳附件</button> </div> </div> <div class="container-attach" id="attachment"> <cpt:attachment uploadType="jQueryFileUpload" typeCode="0" btnWidth="100" btnText="上傳附件" maxSize="100" extendBtnVariable="ExtendAttachmentButtons" allowType="doc,docx,wps,ofd" btnStyle="btn btn-primary" attachmentId="${entity.attachment}" inputId="attachment" inputName="attachment" loadSuccFun="loadSuccess" fileNameOnly="true" delSuccFun="delAttaSuccess" succFun="addAttaSuccess"> </cpt:attachment> </div> </div> </div>
可以刪除附件jsp程式碼
<div class="attachment-menu" style="margin:10px;"> <div class="title"> <h4>附件</h4> <div class="button-groups"> <button class="btn btn-positive upload-attchment" type="button">上傳附件</button> </div> </div> <div class="container-attach" id="attachment"> <cpt:attachment uploadType="jQueryFileUpload" typeCode="0" btnWidth="100" btnText="上傳附件" maxSize="100" maxNum="-1" extendBtnVariable="ExtendAttachmentButtons" allowType="doc,docx,wps,ofd,jpg,png" btnStyle="btn btn-primary" attachmentId="${entity.attachment}" inputId="attachment" inputName="attachment" loadSuccFun="loadSuccess" fileNameOnly="true" succFun="tuSetAttachment1(this)"> </cpt:attachment> </div> </div>