accept only image input file
<input type="file" name="myImage" accept="image/x-png,image/gif,image/jpeg" />
accept only image input file
<input type="file" name="myImage" accept="image/x-png,image/gif,image/jpeg" />
accept only video in input type file below size
var uploadField = document.getElementById("file");
uploadField.onchange = function() {
// 2097152 ~ 2MB
if(this.files[0].size > 2097152) {
alert("File is too big!");
this.value = "";
};
};
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us