I had a form with plenty of inputs and one (hidden) file input. File had to be selected in modal window. So I cloned the file input in modal into the form. It worked prefectly for Firefox and Opera but not for Chrome for security reasons.
I have read plenty of similar solutions but none of them worked in Chrome.
So I found out other way – move the file input instead of cloning.