在bootstrap日期选择器中,我想突出显示两个日期。我可以突出显示两个日期,但无法按颜色区分两个日期,或者某些类别对两个日期应用相同的蓝色。任何人都可以帮忙吗?
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));