Hi,
cloneNode method does not clone value attribute when the node is file(<input type=‘file’>) in Google Chrome. It works fine in Firefox. Do you know how to fix this problem?
Cheers,
Hi,
cloneNode method does not clone value attribute when the node is file(<input type=‘file’>) in Google Chrome. It works fine in Firefox. Do you know how to fix this problem?
Cheers,
It’s a security restriction, only Firefox and Opera will clone the value of a file input.