Detect upload status in javascript
-
I am using wfu in an admin page to upload files. The page is generated on-the-fly and the upload is triggered in javascripts with the code fragment:
var elem = document.getElementById(“upload_1”);
if (typeof elem.onclick == “function”) { elem.onclick.apply(elem); }on the input object (id=”upload_1″)that is the submit button. The upload works, but how do I test for failure in javascript?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Detect upload status in javascript’ is closed to new replies.