#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).
En esta página del sitio puede ver el video en línea IMAGE VALIDATION USING JAVASCRIPT|File upload Validation de Duración hora minuto segunda en buena calidad , que subió el usuario Programmers bhava 09 agosto 2023, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 842 veces y le gustó 33 a los espectadores. Disfruta viendo!