如何突出今天';dojo中DateTextBox中的s日期

如何突出今天';dojo中DateTextBox中的s日期,dojo,Dojo,当dojo DateTextBox中的文本框为空时,是否有方法突出显示(显示选定的)当前日期?我不想在文本框中显示日期(它应该保持为空),只想显示所选的今天的日期 我尝试使用dojo为此提供的“dropDownDefaultValue”属性,但它不起作用(当前值未显示为选中或突出显示) 我使用的是dojo版本1.7.1 这方面的任何建议都将非常好。如果您查看用于DateTextBox弹出窗口的html,您将看到当前日期的td如下所示: <td class="dijitCalendarEna

当dojo DateTextBox中的文本框为空时,是否有方法突出显示(显示选定的)当前日期?我不想在文本框中显示日期(它应该保持为空),只想显示所选的今天的日期

我尝试使用dojo为此提供的“dropDownDefaultValue”属性,但它不起作用(当前值未显示为选中或突出显示)

我使用的是dojo版本1.7.1


这方面的任何建议都将非常好。

如果您查看用于
DateTextBox
弹出窗口的html,您将看到当前日期的
td
如下所示:

<td class="dijitCalendarEnabledDate dijitCalendarCurrentDate dijitCalendarCurrentMonth dijitCalendarDateTemplate" role="gridcell" data-dojo-attach-point="dateCells" aria-selected="false" tabindex="0">
    <span class="dijitCalendarDateLabel" data-dojo-attach-point="dateLabels">30</span>
</td>
.dijitCalendarDateTemplate.dijitCalendarCurrentDate{
    /*your styling */
    background-color: green;
}