i want to reset a file upload field when the user selects another option
is this possible via JS? i'm suspecting that the file upload element is treated differently b/c it interacts with the user's FS, and maybe it's immutable
basically, what i want is something like (pseudo)
// choose selecting existing file
$('#select-file').bind('focus', function() {
// clear any files currently selected in #upload-file
$('#upload-file').val('');
}) ;
// choose uploading new one - this works ok
$('#upload-file').bind('focus', function() {
// clear any files currently selected in #select-file
$('#select-file').val('');
}) ;