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.

  1. it first add's a class to the input file (style / hide with css)
  2. then we create a div with an input and a span (span for button)
  3. on change we set the value of file in the text...
  4. DONE

Java script code can be found here and here