Conflict with jquery

See all posts See thread Reply

Re: Conflict with jquery new!
by Mika, 8 years ago
script src="../core/js/jquery-2.1.4.min.js" type="text/javascript"Reply
Re: Conflict with jquery new!
by colin, 8 years ago
This has nothing to do with the classReply
Re: Conflict with jquery new!
by Mika, 8 years ago
Yes, I got it now with xhr upload.
I still have a weird problem with it. I can upload one image successfully, but after I return to the upload page, it does not work with a second image without refreshing the page with browser. On the second time the function below does not show anything and it doesn't upload the file like the form could not pass the file forward.

function xhr_parse(f, e) {
if (f) {
document.getElementById(e).innerHTML = "File selected : " + f.name + "(" + f.type + ", " + f.size + ")";
} else {
document.getElementById(e).innerHTML = "No file selected!";
}
}Reply