Bookmark Topic Watch Topic
  • New Topic

Browse Button validation

 
Shrikanth Nekkanti
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Report post to moderator
I answered it here: http://www.coderanch.com/t/121174/HTML-JavaScript/HTML-Button-action-help

Closing this thread

Eric
 
    Bookmark Topic Watch Topic
  • New Topic