function validate_image(){ frmobj = document.frmRegistration; //Here “frmRegistration” is Form name var image_file = frmobj.upload_file.value; /*Here “upload_file” is in this tag like input type=”file” name=”upload_file” */ … Validate Image Using JavascriptRead more