Reply to Re: Conflict with jquery

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

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important