JavaScript Update datatables row after jQuery .html()
Update datatables row after jQuery .html()
<script>
$(document).ready(function(){
var table = $('#TABLE_ID').dataTable({bRetrieve: true}); //<table id="TABLE_ID">
var aPos = table.fnGetPosition($('#element_selector')[0]); //<td><span id="element_selector">VALUE</span></td>
table.fnUpdate('NEW VALUE', aPos[0], aPos[1]);
});
</script>