After uploading a picture using the fileupload.js plug-in, click to delete the picture and cannot delete it.

1. The front desk uses fileUpload.js to upload files. After uploading, click on the trash can to delete the picture.
does not seem to be using jquery.fileupload.js,. Below is part of the content of fileupload.js
/ * *

.
  • Created by zxm on 2017

* /
$.fn.extend ({

)
"initUpload": function (opt) {

    if (typeof opt != "object") {
        alert("!");
        return;
    }
    var uploadId = $(this).attr("id");
    if (uploadId == null || uploadId == "") {
        alert("id!");
    }
    $.each(uploadTools.getInitOption(uploadId), function (key, value) {
        if (opt[key] == null) {
            opt[key] = value;
        }
    });
    uploadTools.initWithLayout(opt);//
    uploadTools.initWithDrag(opt);//
    uploadTools.initWithSelectFile(opt);//

    uploadTools.initWithUpload(opt);//
    uploadTools.initWithCleanFile(opt);
    uploadFileList.initFileList(opt);
}

});

Apr.19,2021

maybe you can understand the use of F12 first.


because there is no click event

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e45ec3-59bc0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e45ec3-59bc0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?