Monday, June 3, 2024
 Popular · Latest · Hot · Upcoming
49
rated 0 times [  52] [ 3]  / answers: 1 / hits: 67535  / 15 Years ago, fri, february 19, 2010, 12:00:00

Are there any JavaScript events in type=file input? I.E. I would like to add an extra file input upon selecting file in one of allready created:



Diagram:] :



file input 1
file input 2
file input 3


user selects some file in input 1 and JS adds new file input



file input 1 - somefile.txt
file input 2
file input 3
*NEW* file input 4


I'm looking for meaningful event, on which i can bind addFileInput method.



I also use jQuery 1.4 :]



Thank you


More From » jquery

 Answers
40

I believe onchange should work.


[#97535] Monday, February 15, 2010, 15 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tatumm

Total Points: 47
Total Questions: 92
Total Answers: 89

Location: Palau
Member since Tue, May 30, 2023
1 Year ago
;