改变TreeView选中节点的颜色及鼠标移动到其上面时候改变颜色 <asp:TreeView runat="server" id="Tree1" ShowLines="True"> <NodeStyle ForeColor="Black"> </NodeStyle> <HoverNodeStyle Font-Underline="True" ForeColor="Black"> </HoverNodeStyle> <SelectedNodeStyle BackColor="#DBDBDB" ForeColor="Black"> </SelectedNodeStyle> </asp:TreeView> js获取当期中文星期几 var weekDay = ["星期天", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"]; var dateStr = $("#cld_DateTime").val(); var myDate = new Date(Date.parse(dateStr.replace(/-/g, "/"))); $("#lb_Weekday").text(weekDay[myDate.getDay()]);