Jump to content

[SOLVED] editing file box


Northern Flame

Recommended Posts

You cannot do anything through HTML/CSS/Javascript. The file browse dialog box is not part of the web page, it is part of the Browser's GUI. You cannot set the value parameter or even the list of files that are displayed using a HTML type="file" input field.

 

You can do some of these things using a flash upload form, such as specify which files are listed in the dialog box. Here is an example of a flash upload form - http://swfupload.mammon.se/

 

The best you can do in HTML is style the browse button by putting the input field in a non-visible <div> and putting your own representation of a button in the same location.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.