File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Engineering
»
HTML, CSS and JavaScript
Author
Browse Button validation
Shrikanth Nekkanti
Ranch Hand
Joined: Jul 12, 2007
Posts: 48
posted
Dec 09, 2007 22:54:00
0
I have a browse button when user selects none and clicks upload i want to display an alert prompting user to select file for upload.
how to write javascript function for this.
I have created browse button like
<input type="file" name="data" >
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
6
posted
Dec 10, 2007 08:06:00
0
I answered it here:
http://www.coderanch.com/t/121174/HTML-JavaScript/HTML-Button-action-help
Closing this thread
Eric
subject: Browse Button validation
Similar Threads
html:file problem
Using Javascript for generating a form element
Closing child window after executing Action
Disable right click, copy & paste option in <html:file>
Uploading from a web page
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter