| Author |
Using Javascript for generating a form element
|
Ketan Joshi
Ranch Hand
Joined: Oct 09, 2005
Posts: 66
|
|
Hello All I currently have a form which has one form field <input type='file'> to upload a file I want to provide a button on the same page and if it is clicked, user should get another browse button to upload another file on the same page. Is this possible using JavaScript or what is the best option where I can have multiple files uploaded I dont want the page to be filled with browse boxes.They should be generated as per users choice when he clicks the button which has text "More files" on it. Thanks
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56168
|
|
You can create them on-the-fly either through use of the innerHTML property, or by creating the DOM elements "by hand". [ April 20, 2006: Message edited by: Bear Bibeault ]
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
 |
|
|
subject: Using Javascript for generating a form element
|
|
|