styling input type=file
October 8th, 2004 by Dylan
Quirksmode.org has a great article on how to create the illusion of a styled input type=”file” element. This is a problem I tried to solve years ago, before the options presented here were really viable. This trick will probably put Michael McGrady on the map if he wasn’t already.
I am trying to submit a form with file to java script ,
the I want to send the file object from javascript to PHP code as argument with POST so I can upload it
is there any body in this world can help me
or I am supossed to search in other world
Thank you
Dojo has an IframeIO transport that allows just this. An IframeIO example shows it in action. You can either make use of Dojo, or just copy that bit of Dojo source into your app.