Welcome to WebmasterWorld Guest from 174.129.127.214

Forum Moderators: open

Message Too Old, No Replies

JavaScript and <INPUT TYPE="file">

I need to change the browse-button

   
4:56 pm on Jun 29, 2001 (gmt 0)

10+ Year Member



For a nice design I need to change the browse button for an <INPUT TYPE=file>
tag.
Is there a possibility to make it in JavaScript
like the SUBMIT-Button with
<A HREF="JavaScript:Submit()">
8:29 pm on Jun 29, 2001 (gmt 0)

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Welcome to the board, itchy

Historically, the browse button has been quite resistant to changes in appearance, since it's basically hardwired into the client's OS. However, this is the old story, and I haven't looked into it lately. Things have been changing.

There is a very thorough FAQ on forms and Javascript at [developer.irt.org...]

I looked through it, and didn't spot the exact info you need (although some of it comes close.) But this is a VERY big bunch of information, and you may want to double check me.