I have a datatable with 2 rows:
Select Remark
*Checkbox *Textbox
*Checkbox *Textbox
I have created the event by using PreDraw from DataTable. What I want to achieve is to show alert() of Textbox's content of those selected row.
How can I do that?
What I have tried so far:
table
.on('preDraw', function () {
//startTime = new Date().getTime();
$('#Table input[type="checkbox"]:checked').each(function () {
checkedids.push("OK");
});
console.log(checkedids);
})
.on('draw.dt', function () {
});
The result in console is empty
Aucun commentaire:
Enregistrer un commentaire