How to set Start Date not to be less than today in jQuery DatePicker

Sunny Sharma 0

minDate” parameter of datepicker widget requires to be set to achieve this purpose.

Below is a sample code on how to do this:
--------------------------------------------------------------------
jQuery UI Datepicker - Default functionality
$(function() {
$( "#datepicker" ).datepicker({minDate:0});
});


——————————————————————–

Cheers!



Shared Hosting with Namecheap. Free .Website domain & WhoisGuard

Leave a Reply

Your email address will not be published. Required fields are marked *