I want to fire an event when the user select a file. Doing so with .change
event it works if the user changes the file every time.
But I want to fire the event if the user select the same file again.
- User select file
A.jpg
(event fires)
- User select file
B.jpg
(event fires)
- User select file
B.jpg
(event doesn't fire, I want it to fire)
How can I do it?
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…