styling input type=file

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.

2 Responses to “styling input type=file”

  1. on 14 Feb 2007 at 3:26Saed

    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

  2. on 15 Feb 2007 at 16:56Dylan

    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.

Leave a Reply