Forum Moderators: open

Message Too Old, No Replies

JavaScript and <INPUT TYPE="file">

I need to change the browse-button

         

itchy72

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



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()">

tedster

8:29 pm on Jun 29, 2001 (gmt 0)

WebmasterWorld Senior Member 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.