| Author |
Browse Button Value
|
m brymer
Ranch Hand
Joined: Jan 04, 2005
Posts: 64
|
|
Hi All, Does anyone know if it is possible to populate a browse button with a value? I have tried "value=" but it doesn't seem to do anything. Thanks! Melissa
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56207
|
|
|
What is a "browse button"?
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
m brymer
Ranch Hand
Joined: Jan 04, 2005
Posts: 64
|
|
In this case to browse a file directory and choose a file
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
If you are talking about a "file" input element, you can not set the value. Reason is how would you like someone changing it and uploading your email, backups, operating system files, porn videos, etc. Eric
|
 |
m brymer
Ranch Hand
Joined: Jan 04, 2005
Posts: 64
|
|
I was afraid you might say that...so even if I just wanted to display the name of a file saved previously ie., abc.doc it won't let me do it? I guess I will just have to display the name of the previous file on the line above. Thanks! M.
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56207
|
|
|
Moved to HTML/Javascript.
|
 |
 |
|
|
subject: Browse Button Value
|
|
|