I have the following:
loadModalLinks is defined in another js file which is included, loadModalLinks also takes in a callback function via the first argument, how would you write this? I'm also using jquery.
As the following does not work:
var oTable = $('#patient_table').dataTable( { .... "fnDrawCallback": loadModalLinks, });
loadModalLinks is defined in another js file which is included, loadModalLinks also takes in a callback function via the first argument, how would you write this? I'm also using jquery.
As the following does not work:
... "fnDrawCallback": loadModalLinks(function () {})