Hi, here https://datatables.net/manual/tech-notes/2 you can see that using <table>tag in HTML code is obligatory with DataTables, however when i'm changing <div> tag (from example and which works fine) <div id="presidents">Loading...</div> to <table> the table becomes unloadable.
I want to use <table> because such constructions (enabling extensions on client-side)
var table = $('#table').DataTable();
throw errors which described on page above.
Hi, here https://datatables.net/manual/tech-notes/2 you can see that using
<table>
tag in HTML code is obligatory with DataTables, however when i'm changing<div>
tag (from example and which works fine)<div id="presidents">Loading...</div>
to<table>
the table becomes unloadable. I want to use<table>
because such constructions (enabling extensions on client-side)var table = $('#table').DataTable();
throw errors which described on page above.