Wednesday 15 May 2013

javascript - Show only weekend in jQuery datepicker plugin -


I would like the user to choose only on my Saturday and Sunday in my jQuery date picture. What should I add to my datepicker script?

  $ (function () {$ ('# txtDate1') datepicker ({shawe day : Work (DT) {Returns [DT getDay () == 0 || dt.getDay () == 6, ""]}}}}}});    

No comments:

Post a Comment