Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

browse button costimize 1

Status
Not open for further replies.

CMD83

Technical User
Nov 11, 2002
68
NL
Hi,

I wonder if it is possible to change the browse button.

I know it's possible with the following script (by hiding the real button), however this doesn't work for mozzila, for example.

Code:
Filename:
<input type=file
name='file1'
size='15'
style='display: none;'><br>
        
<input type='text'
name='file2'
id='file2'>
<img src='browse.gif'
name='browser'
id='browser'
width='91' height='20' border='0'
alt=''
align='absmiddle'
onclick='document.all.file1.click(); 
                       
document.all.file2.value=document.all.file1.value'>
I searched online and at the forum and this solution is more then a year old, I was wondering if in the mean time a better solution was created or are we still stuck with this one?

Thanks in advance!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top