I have a simple HTML form that sends an selected file via AJAX to an API endpoint.
If I do the following steps:
Just reset the input type file after prompt messages or processing the data
$('#file').val("");