Issue clearing fileupload field
I have two fileupload fields. On clicking button I want to clear only one field value. I want to empty it. I dont want to reset complete form. Is this possible? I am able to clear input field that is visible but I found there is another field with id as fileid+'-File'. This invisible field of type file is not getting cleared when I use document.getElementByID(fileid+'-File').value='';
Because this field is not cleared, my fileselected listerner is not fired when ever I select same file again and again. Can some one please help me with any tips in clearing this invisible field?