I have got an input file upload , need to check which file is uploaded / if no file is selected by the client using jquery.
<input type="file" name="files" id="file1" style="color:White" />
<input type="submit" value="Create" />
The check should trigger when submit is clicked.
See the sample I have created:
http://jsfiddle.net/G7xke/
And JavaScript: