I have been using cloneNode
in Firefox and it is working fine. But in Chrome it doesn't work as I expected. The cloneNode
method does clone the node but it doesn't clone the value of the node if the node is file(<input type="file">
).
Anyone know how to fix this problem?