I would like to create a file upload form, but the < input type="file" > tag is too ugly and not customizable, that's why I did a trick. The base idea came from here:
How Can I Create a Custom File Upload With Only HTML, JS and CSS
The problem is when I specify the name property in this tag the upload will not work in IE. check it here:
use the Browse and Upload buttons. In the first case it will work, the data is sent and the page is refreshed. But in the second case if you click the Upload button it will just erase the path from the tag.