I have a file input field with that I want the user to be able to clear just this field and not the whole form.
I have tried with the static event onclick on the remove image link, but it is not working.
<a href="javascript:;" onclick="resetfile();">Remove images</a>
function resetfile() {
document.getElementById("uploadimages").value = "";
}
Community Page
Last updated:
Last updated: