Jquery DatePicker today按钮颜色 $(“#日期选择器”)。日期选择器( { 变化月:对, 变化年:是的, 日期格式:“年月日”, showButtonPanel:是的, gotoCurrent:对 }); $.datepicker.\u GotoDay=函数(id){ $(id).datepicker('setDate',new Date()).datepicker('hide').blur(); };

Jquery DatePicker today按钮颜色 $(“#日期选择器”)。日期选择器( { 变化月:对, 变化年:是的, 日期格式:“年月日”, showButtonPanel:是的, gotoCurrent:对 }); $.datepicker.\u GotoDay=函数(id){ $(id).datepicker('setDate',new Date()).datepicker('hide').blur(); };,jquery,datepicker,Jquery,Datepicker,我在jQueryDatePicker中有today按钮。today按钮是不同的颜色。Close按钮是不同的颜色。today按钮看起来像浅银色,Close按钮看起来像深银色 如何显示“今日”按钮深银色(与“关闭”按钮相同)?Hi@soner希望对您有所帮助 <link rel="stylesheet" href="//code.jquery.com/ui/1.11.3/themes/smoothness/jquery-ui.css"> <script src="

我在jQueryDatePicker中有today按钮。today按钮是不同的颜色。Close按钮是不同的颜色。today按钮看起来像浅银色,Close按钮看起来像深银色


如何显示“今日”按钮深银色(与“关闭”按钮相同)?

Hi@soner希望对您有所帮助

    <link rel="stylesheet" href="//code.jquery.com/ui/1.11.3/themes/smoothness/jquery-ui.css">
    <script src="//code.jquery.com/jquery-1.10.2.js"></script>
    <script src="//code.jquery.com/ui/1.11.3/jquery-ui.js"></script>    

 $("#datepicker").datepicker(
            {
                changeMonth: true,
                changeYear: true,
                dateFormat: 'dd.mm.yy',
                showButtonPanel: true,
                gotoCurrent: true
            });

        $.datepicker._gotoToday = function (id) {
            $(id).datepicker('setDate', new Date()).datepicker('hide').blur();
        };