Inputfile demo
Brought to you by Wilfred Nas
Below you will find a simple implementation of the input file plugin by wnas. More documentation can be found in this place.
to intiate the function do:
jQuery('foobar').inputfile();
NOTE the input type file has to have an unique id.
- it first add's a class to the input file (style / hide with css)
- then we create a div with an input and a span (span for button)
- on change we set the value of file in the text...
- DONE
Java script code can be found here and here