#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).
На этой странице сайта вы можете посмотреть видео онлайн IMAGE VALIDATION USING JAVASCRIPT|File upload Validation длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Programmers bhava 09 Август 2023, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 842 раз и оно понравилось 33 зрителям. Приятного просмотра!