columnDefs: targets conflicts
columnDefs: targets conflicts

Hi,
I have many multiple ID's. After I followed the coding preference for scrolling and bootstrap tabs, finally there's some conflicts. How are "conflicts" resolved?
$(document).ready(function() {
var t = $('#place1, #place2, #place3, #place4, #place5, #place6, #place7, #place8, #place9, #place10, #place11, #place12, #place13').DataTable( {
"columnDefs": [ {
"orderable": true,
"targets": 0
} ],
"order": [[ 1, 'asc' ]]
} );
t.on( 'order.dt search.dt', function () {
t.column(0, {search:'applied', order:'applied'}).nodes().each( function (cell, i) {
cell.innerHTML = i+1;
} );
} ).draw();
} );
Is there a positional preference?.
This discussion has been closed.
Answers
As in duplicate ID's? That isn't valid HTML I'm afraid. In an HTML document an ID must be unique.
Allan