This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Browse button change in file control html

 
Mariya Antony christopher
Ranch Hand
Posts: 49
Hibernate Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hai,
I need to change the browse button text in input type='file' as Search is't possible.
 
Tim McGuire
Ranch Hand
Posts: 820
IntelliJ IDE Tomcat Server VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 49
Hibernate Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic