Datepicker jquery validation message not disappear.date picker validation message using rules jquery.
Solution:use the $(this).valid() function in the date picker For example see the below code
1 |
<input type="text" class="form-control" id="myDate" name="myDate" value=""> |
1 2 3 4 5 |
$('#myDate').datepicker({ autoclose: true }).on('change', function() { $(this).valid(); }); |