I have a input type[file]
component.After the user browses and selects a file i need to download the selected file by clicking a button.
function download(){
...
}
<input type='file' id='file1'>
<button type='button' onclick='download()'></button>
Thanks, Nawaz Ahmed