I have javascript code that selects data in all tables existing in my Laravel blade.
I would like to apply this code only for a specific table with id="exemple". How can I accomplish that?
My javascript code :
<script>
function groupDataByDate() {
var columns, columnOrder, data,
table = $('table'), mainObj = {};
columns = [{
title: 'date',
values: [4,9]
}];
table.find('tbody tr').each(function() {
}