jQuery Validation for File Input Type
When we use input type file in HTML form, then we must validate it before form submitted. Client side validation can be easily done using jQuery or JavaScript. In this tutorial, we will see how to validate input type file with jQuery. HTML <div class=”form-group”> <input type=”file” class=”form-control” id=”idaddproof3″ name=”idaddproof” accept=”image/*” required=”required”> <span class=”errorMSG” id=”msgaadhaarfile”></span> … Read more