I tried with the following code. It's working fine. We can change it.

<html> 
<head>
</head>
<body>
<form name="test_form" method="post" action="processor.php">
  <input type="file" name="browse" style="display: none;">
  <input type="text" name="file">
  <input type="button"
onClick="browse.click();file.value=browse.value;browse.disabled=true"
value="Select a File...">
  <br>
  <br>
  <input type="submit" value="Submit"style="font-style: Arial;
font-size:10px;">
</form>
</body>
</html>

Thanks.
-Ruchi A.


-----Original Message-----
From: K R Viju [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 22, 2004 10:23 AM
To: [EMAIL PROTECTED]
Subject: Re: Change button's label for Input type "File"

Nope!!



> Hi all,
>
>
>
> <td width="39%" valign="top" class="contentText"><font
size="1"><strong>
>
>
>       <input type="file" name="UPLOAD_FILE">
>
> </strong></font></td>
>
>
>
> I want to change the default button's label from "Browse.." to "upload
> file.."
>
> I couldn't find other attribute to change that. Is it possible to
> change?
>
>
>
> Regards,
>
> -Ruchi
>
>
>
>
>
========================================================================
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
>
> Some relevant archives, FAQs and Forums on JSPs can be found at:
>
>  http://java.sun.com/products/jsp
>  http://archives.java.sun.com/jsp-interest.html
>  http://forums.java.sun.com
>  http://www.jspinsider.com

========================================================================
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com

Reply via email to