Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

How to check if input file is empty in jQuery

if ($('#videoUploadFile').get(0).files.length === 0) {
    console.log("No files selected.");
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #How #check #input #file #empty #jQuery
ADD COMMENT
Topic
Name
8+8 =