Hello friends.
How can I send the "hidden" elements of type "input" in the rows that have been selected in a DataTable? In the example you get ALL the "input" but I just want to send those that are in selected rows.
Hi @pepo ,
Something like this should do the trick:
var rows = table.rows( { selected: true } ).nodes(); var inputs = $('input, select', rows); var data = inputs.serialize();
Cheers,
Colin
It looks like you're new here. If you want to get involved, click one of these buttons!
Answers
Hi @pepo ,
Something like this should do the trick:
Cheers,
Colin