1

在引导日期选择器中,我想突出显示两个日期。我能够突出显示两个日期,但无法通过颜色或某个类别区分这两个日期,它对两个日期应用相同的蓝色。任何人都可以帮忙吗?

var DD = "29";
var MM = "04";
var YY = "2014";
var CaseDD = "25";
var CaseMM = "04";
var CaseYY = "2014";

 $('#calendar').datepicker({
 format: "dd/mm/yyyy",
 multidate: true,
 multidateSeparator: "/",
 autoclose: true,
 showOtherMonths: true,
 dayNamesMin: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
 beforeShowDay: highlightDays()
 });
  $('#calendar').datepicker('setDate', new Date(YY, MM, DD), new Date(CaseYY, CaseMM,           CaseDD));
4

0 回答 0