Created
August 1, 2020 12:33
-
-
Save aminusia/b36a862d7df3ae7746f8d438b56ec328 to your computer and use it in GitHub Desktop.
JQuery check if input file is empty
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ($('#videoUploadFile').get(0).files.length === 0) { | |
console.log("No files selected."); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment