I need to add a custom validation on datepicker just like we add custom validations by adding rules in javascript like the one here - jQuery Validate Plugin - How to create a simple custom rule?
But before adding one more custom validator on same element I need to verify if another rule/validator method exists.
How can I check that? I know I can get all rules like -
var rules = $(element).rules();