MrFish Posted January 2, 2013 Share Posted January 2, 2013 (edited) I'm to add a functionality to an already existing batch upload script on a site. I don't want to rewrite what already exists. I want to have a file input above the original form that lets you select multiple files. When you select them it add each of those files to an individual upload in the form. This lets the person change the name and category of the file individually. How can I do this? Edited January 2, 2013 by MrFish Link to comment Share on other sites More sharing options...
justsomeguy Posted January 7, 2013 Share Posted January 7, 2013 There are several ways to add elements. Once you have the count then you can loop through and, preferably, use DOM methods like document.createElement and appendChild to create new elements and add them to the page. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now