how to retrieve data from datatable in html table using jquery code example
Example 1: jquery datatables get selected row data
var table = $('#example').DataTable();
$('#example tbody').on( 'click', 'tr', function () {
console.log( table.row( this ).data() );
} );
Example 2: laravel datables get next input jquery next
$(input).closest('tr').next('tr').find('input[type=text]').focus();