Entry
how i can replace the "browse" button of a file browse textbox (with image,...)
Jun 4th, 2005 02:52
Subrojit Mitra, surya prakash, ali valizadeh, Subro
try this (not sure abt Netscape)
<form name="brow">
<b><i>Filename:</i></b> <input type=file name='file1'
size='15' class='walter' style='display: none;'><br>
<input type='text' name='file2' id='file2'><img
src='images/scroll-up1.gif' name='brower' id='brower' width='83'
height='24' border='0' alt='' align='absmiddle'
onclick='document.brow.file1.click();
document.brow.file2.value=document.brow.file1.value'
onMouseDown='this.src="images/scroll-dn1.gif"'
onMouseUp='this.src="images/scroll-up1.gif"'
onMouseOut='this.src="images/scroll-up1.gif"'>
</form>
:( Cool but did u actually get file uploaded since I m using this code
but not able to upload the file in asp. Please help.