Stop spoon feeding him guys ... Let Karthik do something on his own. 
No hard feeling Karthik but this will only help you .. Don't you agree?
Anyways - there are enough leads alredy given in the mail bombardment :)

Regards
- Ashish

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


Ruch,
Karthikeyan is talkin bot changing the style of File, not BUTTON or
SUBMIT,.. Changing the style of a BUTTON is a common thing, which i
guess Karthik knows already,... As far File is concerned, there is
nothing you can do to change either the style or the label "Browse" or
even clear its value (you can only reset the form),...

Viju



> Yes you can change the style of the button as well.
> Try this out.
>
> <html>
> <head></head>
> <body>
> <form name="test_form" method="post" action="test.jsp"> <input 
> type=file name=browse style="display: none;"> <input type=text 
> name=file> <input type=button
>        style="font-style:veranda; font-size:12px;
>
font-weight:bold;text-transform:lowercase;color:white;background-color:#
> A2C382;height:22px;border-style:ridge;text-align:center;"
>        onClick="browse.click();file.value=browse.value;"
>        value="Select a File...">
> <br><br>
>
> <input type=submit
>        value="Submit The Form Now!"
>        style="font-style:veranda; font-size:12px;">
> </form>
> </body>
> </html>
>
> -Ruchi A.
>
>
> -----Original Message-----
> From: S Karthikeyan [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 22, 2004 10:43 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Change button's label for Input type "File"
>
> Hi,
>
>  Try to see if there is any Style Sheet attribute available for 
> changing it
>
> regards
>
> S.Karthikeyan
>
>
> -----Original Message-----
> From: Ruchi Agarwal [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 22, 2004 12:49 PM
> To: [EMAIL PROTECTED]
> Subject: Change button's label for Input type "File"
>
>
> 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

========================================================================
===
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


MASTEK
"Making a valuable difference"
Mastek in NASSCOM's 'India Top 20' Software Service Exporters List.
In the US, we're called MAJESCO

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Opinions expressed in this e-mail are those of the individual and not that of Mastek 
Limited, unless specifically indicated to that effect. Mastek Limited does not accept 
any responsibility or liability for it. This e-mail and attachments (if any) 
transmitted with it are confidential and/or privileged and solely for the use of the 
intended person or entity to which it is addressed. Any review, re-transmission, 
dissemination or other use of or taking of any action in reliance upon this 
information by persons or entities other than the intended recipient is prohibited. 
This e-mail and its attachments have been scanned for the presence of computer 
viruses. It is the responsibility of the recipient to run the virus check on e-mails 
and attachments before opening them. If you have received this e-mail in error, kindly 
delete this e-mail from all computers.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

===========================================================================
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