Conflict with jquery

See all posts Reply

Conflict with jquery new!
by Mika, 7 years, 4 months ago
When I have a line

on the form page, the file upload does not work.
Is there a way to make this work with jquery as I need it for page layout?
Otherwise it works fine.Reply
Re: Conflict with jquery new!
by Mika, 7 years, 4 months ago
script src="../core/js/jquery-2.1.4.min.js" type="text/javascript"Reply
Re: Conflict with jquery new!
by colin, 7 years, 4 months ago
This has nothing to do with the classReply
Re: Conflict with jquery new!
by Mika, 7 years, 4 months 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