Add Input Fields | JavaScriptSource

Add Input Fields

Jeroen Haan Jun 23, 2008

General

Use this script to upload files. As a file is selected, another input field is automatically added.


Notes

Source Code

Paste this source code into the designated areas.

External file

Paste this code into an external JavaScript file named: addInputFields.js


CSS

Paste this code into your external CSS file or in the <style> section within the HEAD section of your HTML document.


Head

Paste this code into the HEAD section of your HTML document.


Body

Paste this code into the BODY section of your HTML document


Leave a Response

(2 comments)

Your question is beyond the scope of these comments. You will need to post it over on [a href="http://www.webdeveloper.com/forum/forumdisplay.php?f=3"]the JavaScript forum[/a]. Thanks!

Lee Oct 31, 2008

hi i am wonderin about this code um is it possible to beable to link it to a database so i can have users ofmy new site upload content and and have it sent back to the site using coldfusion do have any code forthat or any ideas basically iwant users to beable to upload movies

peter Sep 2, 2008