jQuery validator and datepicker click not validating

前端 未结 3 470
灰色年华
灰色年华 2020-12-03 07:02

I am using jquery validator to validate text inputs. The problem I have is, if I click submit it displays all error message correctly. However, on the datepicker input, to c

3条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-03 07:42

    If you are using Jquery Form Validator(http://www.formvalidator.net/) and you want to use bootstarp datepicker then just add class="hasDatepicker" to input element.It worked for me.

    
    

提交回复
热议问题