【问题标题】:DataTables filter input image changeDataTables 过滤输入图像变化
【发布时间】:2021-02-22 05:40:36
【问题描述】:

我正在使用 1.10.22 版本的 dataTables。

我想更改过滤器输入的“X”图像。

我在 css 文件中找不到任何背景图像或其他任何内容。 这是如何工作的,我在哪里可以更改它?

【问题讨论】:

    标签: javascript html jquery css datatables


    【解决方案1】:

    我认为x 来自输入搜索字段

    /* clears the 'X' from Internet Explorer */
    input.hide-clear[type=search]::-ms-clear,
    input.hide-clear[type=search]::-ms-reveal {
      display: none;
      width: 0;
      height: 0; 
    }
    
    input[type="search"]::-webkit-search-decoration,
    input[type="search"]::-webkit-search-cancel-button,
    input[type="search"]::-webkit-search-results-button,
    input[type="search"]::-webkit-search-results-decoration {
      -webkit-appearance:none;
    }
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-03-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多