How to disable past dates from the current date on a datetimepicker? I tried few posts for similar question but was unable to achieve it, Below is what I tried
**this worked in my wordpress plugin **
jQuery(document).ready(function($) { $("#datepicker").datepicker({ minDate: 0}); });