wood burning stoves*
The moose likes HTML, CSS and JavaScript and the fly likes File select with restictions 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 "File select with restictions" Watch "File select with restictions" New topic
Author

File select with restictions

rahulJ james
Ranch Hand

Joined: Oct 03, 2008
Posts: 123
Is there a way to restict the file file selection through browse button. I found the accept attribute in the input tag. But however, I am not able to use that to restrict the browse selection only for html files.

Can someone help
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60776
    
  65

No.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: File select with restictions
 
Similar Threads
Creating a browse button
File Selection tag in JSF
Want a suggestion regarding upload and save in database using struts 2.0
browse button should display only file types All Files (*.*)
Ajax Problem