I am using the DataTables plugin on multiple pages of my site and when no records are found I need it to display a different message on each page.
Right Now I use the below for the current message:
"oLanguage": {
"sEmptyTable": "There is no data available for the week selected."
}
Is there some way to maybe put a conditional statement inside of oLanguage that checks for the current page? Something like:
if (currentPage == "thisPage")
"sEmptyTable" : "There is no data on this current page"