I think this will work, try this:
<html>
<head>
<title>Title</title>
</head>
<body>
<p><input type="file" name="b1" id="b1" style="visibility:hidden" />
<input type="button" name="b2" id="b2" value="Upload..."
onclick="document.getElementById('b1').click();" />
</p>
</body>
</html>
Regards,
Arun Karthik R
SIEMENS
#84, 1st Main, Keonics Electronics City,
Hosur Road, Bangalore - 560100.
* Contact :
Direct: +91 (080) 8091611
Board Line: +91 (080) 8521122. Extn 4611
E-mail : [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED] Behalf Of K R Viju
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