How do I appendChild a file upload field with i++?
I im creating a javascript file using addElemend and childAppend to add a new <input type="file" when an original <input type="file" is clicked

Ive written the code here http://jsfiddle.net/faYMH/18/

But for some reason it isnt working. If I replace the file upload field within the innerhtml with a simple <h1> it does work!

Can anyone spot the problem / put in some input how to accomplish what i want?

Thanks!

Jonah
How do I appendChild a file upload field with i++?
===

I im creating a javascript file using addElemend and childAppend to add a new <input type="file" when an original <input type="file" is clicked

Ive written the code here http://jsfiddle.net/faYMH/18/

But for some reason it isnt working. If I replace the file upload field within the innerhtml with a simple <h1> it does work!

Can anyone spot the problem / put in some input how to accomplish what i want?

Thanks!

Jonah