I have a form with fileupload.
<input class="file" type="file" name="files[]">
I am curently cloning the input, but if a file is choosen it also clones the choosen filinput, is there a way to clear the selected image?
script: $('.fieldset-content_doc').first().clone().appendTo('.fieldset-clone_doc').find('.file').reset();
fieldset-content_doc: holds the formvalues