I'm using jquery, bootstrap, jquery.validate in my asp.net MVC 5 application.
I have seeing various solutions but not sure a good stable solution.
In a textbox the value it contains on page load is a date in this format 11/05/2017
If the value contained in the textbox is anything besides a date display a tooltip that says "please enter a date in this format MM/DD/YYYY"
So if I click in the textbox and , if I delete one digit and the text looks like this 11/05/201 at that point the tooltip already appears. If I type the digit back in like this 11/05/2017 the tooltip disappears.
So the tooltip only appears when the textbox value is anything besides a date in this format MM/DD/YYYY