How can I update a table caption dynamically?

How can I update a table caption dynamically?

Keith_HKeith_H Posts: 54Questions: 19Answers: 1
var dTable = $('#table').DataTable();

I've tried both of the below. Obviously missing something simple.

dTable.caption().text('Details For ' + pParam);
dTable.caption('Details For ' + pParam);

Thanks in advance.

This question has an accepted answers - jump to answer

Answers

This discussion has been closed.