SyntaxFix
Write A Post
Hire A Developer
Questions
In Firefox at least, the DOM inspector is telling me that the File input elements have a property called files. You should be able to check its length.
files
document.getElementById('myFileInput').files.length