File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Browse button change in file control  html Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Browse button change in file control  html" Watch "Browse button change in file control  html" New topic
Author

Browse button change in file control html

Mariya Antony christopher
Ranch Hand

Joined: Jan 24, 2012
Posts: 49

hai,
I need to change the browse button text in input type='file' as Search is't possible.
Tim McGuire
Ranch Hand

Joined: Apr 30, 2003
Posts: 820

Mariya Antony christopher wrote:hai,
I need to change the browse button text in input type='file' as Search is't possible.


I don't understand. What do you mean, "search isn't possible"? Here is one way around the word "browse" in that button:
http://www.quirksmode.org/dom/inputfile.html
Mariya Antony christopher
Ranch Hand

Joined: Jan 24, 2012
Posts: 49

Tim McGuire wrote:
Mariya Antony christopher wrote:hai,
I need to change the browse button text in input type='file' as Search is't possible.


I don't understand. What do you mean, "search isn't possible"? Here is one way around the word "browse" in that button:
http://www.quirksmode.org/dom/inputfile.html


I have tried that stuff
http://www.quirksmode.org/dom/inputfile.html

but i need to display the full path of uploaded file in a textbox.But due to browser security reasons not displaying the full path.
Kindly suggest
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Mariya Antony christopher wrote:

but i need to display the full path of uploaded file in a textbox.But due to browser security reasons not displaying the full path.
Kindly suggest


You can not do it. The browser security restricts it and there is nothing you can do from a code point of view to change it.

IE requires browser to be in the correct security zone of trusted sites. That is a manual change.



Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Browse button change in file control html