javascript - How to move current date to the first row of the jQuery datepicker calendar -


is possible shift current day first row of datepicker calendar? first row contains current day.

enter image description here

following code set mindate first date of current month , maxdate last date of current month.

var currenttime = new date();     // first date of month      var startdatefrom = new date(currenttime.getfullyear(),currenttime.getmonth(),1);     // last date of month      var startdateto = new date(currenttime.getfullyear(),currenttime.getmonth() +1,0);      $("#datepicker").datepicker({         dateformat: 'dd.mm.yy',         mindate: startdatefrom,         maxdate: startdateto     }); 

Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -