Conflict with jquery

See all posts See thread Reply

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