Answers for "jquery check if input file is not empty"

1

How to check if input file is empty in jQuery

if ($('#videoUploadFile').get(0).files.length === 0) {
    console.log("No files selected.");
}
Posted by: Guest on May-01-2021

Code answers related to "jquery check if input file is not empty"

Browse Popular Code Answers by Language