Click here to Skip to main content
15,896,111 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hello,

i want to clear my input file after i have downloading my file

What I have tried:

I have use this instruction in my controler(angularJS) it clear the input but it does not take into consideration my verification client side (if the file is cvs or xls)
wich i make it with directive

var control = $("#myInput");
control.replaceWith(control = control.clone( true ));
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900