Datatables change language dynamically

前端 未结 4 691
一整个雨季
一整个雨季 2021-01-06 13:04

I\'m trying to change with jQuery language of a table with datatables. I\'m trying to push a button to change the language of the table.

$(\'#prueba\').live(         


        
4条回答
  •  醉梦人生
    2021-01-06 13:52

    "//cdn.datatables.net/plug-ins/1.10.16/i18n/Turkish.json",
        "de-DE" =>"//cdn.datatables.net/plug-ins/1.10.16/i18n/German.json",
        "es-ES"=>"//cdn.datatables.net/plug-ins/1.10.16/i18n/Spanish.json"
    );
    ?>
    
    

提交回复
热议问题