This was discussed a lot, but all of these solutions not work:
$("#getFile").val('');
Nor this: document.getElementById("getFile").value = "";
When console.log after using one of this - it prints the value of last file attached. Also cloning not works, although remove the input value.
I want to trigger the event "change" when the user uses the same file after removing. The problem is thatthe value of the input is the last file uploaded.