#javascript,#fileupload,#programmersbhava
In this video I have applied different types of client side validation using javascript on an Image file.
Validation You Will Learn:
1) To check Empty File.
2) To check File is an Image or not by checking its extension.
3) To check image is not more than 2 MB in size.
In Short you can say, Topics covered are:
1) File Not Empty Validation
2) Extension Validation
3) Image Size Validation
JS in-built Functions Used:
-------------------------------------------------
substring() --- To cut a small string from a given string.
lastIndexOf() --- To get the last index or position of a character or string(integer value is returned).
includes() --- to match a given value from array list (boolean is returned).
On this page of the site you can watch the video online IMAGE VALIDATION USING JAVASCRIPT|File upload Validation with a duration of hours minute second in good quality, which was uploaded by the user Programmers bhava 09 August 2023, share the link with friends and acquaintances, this video has already been watched 842 times on youtube and it was liked by 33 viewers. Enjoy your viewing!