Brief description: 1. Document description: common is the background processing code for uploading components without components. css is the css style file directory; uploads is used to store uploaded files js is the main implementation code directory; upload.htm is a simple sample file;
2. Main document description: oc_common.js - Main common function file oc_upload_V1.3_uft.js - main class file
illustrate: For how to use the componentless upload class, see the instructions in the common directory;
illustrate: ocUpload.init(6); The parameter 6 set in the middle is the maximum number of upload control files that can be used at one time;
4. Get the form file content: In the generated code, the names of the file controls are: file1, file2, file3... By analogy, Therefore, in the background processing page, the acquisition form is: In ASP: request("file1"), request("file2") ...
In JSP: request.getParameters("file1"); request.getParameters("file2"); ...
1.2 Modification: Change the remove link to a button, and modify the CSS style, The page looks better. Add uploaded gif animation.