I'm working with 2 bootstrap datepickers and I want to verify if the start date is greater than the end date then show a tooltip
Here's what I have so far :
$('#startdate_datepicker').tooltip({ content : "Example"});
Alert is showing up but the tooltip doesn't do anything and I don't understand why.
Any ideas ?
Just checked your fiddle, There are multiple places where you have to make changes.
your code will look like following
here is modified fiddle of yours http://jsfiddle.net/b7urzdxj/