#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).
Sur cette page du site, vous pouvez voir la vidéo en ligne IMAGE VALIDATION USING JAVASCRIPT|File upload Validation durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Programmers bhava 09 août 2023, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 842 fois et il a aimé 33 téléspectateurs. Bon visionnage!