GeeCON Prague 2014*
The moose likes HTML, CSS and JavaScript and the fly likes How To Make the 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 "How To Make the "Browse ..." Button Work?" Watch "How To Make the "Browse ..." Button Work?" New topic
Author

How To Make the "Browse ..." Button Work?

JiaPei Jen
Ranch Hand

Joined: Nov 19, 2000
Posts: 1309
I know how to create a button. My question is about the "Browse ..." button. User clicks on that button and start browsing files in the system. How to make that work?
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
input type="file"
JiaPei Jen
Ranch Hand

Joined: Nov 19, 2000
Posts: 1309
I do not fully understand. I can create a button like this:

<button type="button">
Browse...
</button>

how do I put input type="file"?
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
<input type="file" name="blah">
JiaPei Jen
Ranch Hand

Joined: Nov 19, 2000
Posts: 1309
Thanks a lot for your help. I really appreciate it.
 
GeeCON Prague 2014
 
subject: How To Make the "Browse ..." Button Work?