HTML Code:
|
JavaScript:
funtion getFirstRow(){ var nRow = $('#data-table-permohonan tbody tr:eq(0)')[0]; var aData = $("#data-table-permohonan").dataTable().fnGetData(nRow); }aData is javascript array and can be fetched using aData[0] ...
No comments:
Post a Comment