如何将next和prev替换为<;并且>;在日期选择器中


how to replace next and prev to < and > in datepicker

我想用<和>此值。我在inspect元素中看到span class ui图标ui-icon-circle-tangle-w,值为Prev。但我不知道在哪里更改以及如何更改。我尝试过以下操作,但没有成功。

    <style>
     .ui-datepicker .ui-datepicker-prev .ui-icon{
            background: url("../../../Documents/ic_navigate_next_48px-128.png") ;
}
        .ui-datepicker .ui-datepicker-next .ui-icon{
            background: url("../../../Documents/ic_navigate_next_48px-128.png") ;
            right: 2px;
        }    
    </style>

为您的日期选择器元素提供您自己的类或ID。并通过覆盖日期选择器对话框的默认CSS来更改下一个和上一个按钮,如下所示。

<style>
     .yourClass.ui-datepicker .ui-datepicker-prev .ui-icon{
          /* Your code here */     
      }
      /* OR */
      #yourID.ui-datepicker .ui-datepicker-prev .ui-icon{
          /* Your code here */     
      }
</style>
<style>
 .ui-datepicker .ui-datepicker-prev .ui-icon { background-image:none !important; }
 .ui-datepicker .ui-datepicker-next .ui-icon { background-image:none !important; } 
 .ui-datepicker .ui-datepicker-prev .ui-icon:before { content:"<"; }
 .ui-datepicker .ui-datepicker-next .ui-icon:before { content:">"; }       
</style>