How to display the work “Search” before the search field in datatable jquery and bootstrap

前端 未结 2 1808
一个人的身影
一个人的身影 2021-01-23 14:17

I am using bootstrap datatable feature to display the table in the screen. For some reason, the word SEARCH is not shown before the search field. I do not know where I am wrong.

2条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-23 14:41

    In following the doc I hope it will work...

    The doc : http://datatables.net/reference/option/language.search

    Extract :

    $('#example').dataTable( {
      "language": {
        "search": "Filter records:"
      }
    } );
    

提交回复
热议问题