3 ms·
It has some problems with input type=file elements. The devil is in the details, although obviously your code works for any other clickable elements. 1 : http
by drinchev 10y ago
It has some problems with input type=file elements.
The devil is in the details, although obviously your code works for any other clickable elements.
1 : https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/click https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement...
2 : http://stackoverflow.com/questions/210643/in-javascript-can-i-make-a-click-event-fire-programmatically-for-a-file-input http://stackoverflow.com/questions/210643/in-javascript-can-...