Results 1 to 2 of 2

Thread: JQuery IU Datepicker

  1. #1
    Join Date
    Dec 2008

    JQuery IU Datepicker

    I used jquery IU datepicker for a calendar. I want to show today's date as highlighted but only allow user to pick dates that is 2 days from "today's date" Is there a way to do this? I know I can use below code to make it blocked out as many day as I want but the problem with this solution is today's date become grayed out. I want don't want it to be gray out.

        $j(function() {
           	 	$j( "#datepicker" ).datepicker({ minDate: 3, maxDate: "+3M" });

  2. #2
    Join Date
    Feb 2014
    south africa
    not tested but it should be something like this :

       $( "#datepicker" ).datepicker({ minDate: +0, maxDate: "+2D" });

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center

Recent Articles