adding Datatable functions to a table
-
I’m trying to add Datatable functions to tables on my WP pages. From the docs here and on the Datatables.net site it looks like I should just be able to put something like
<script type="text/javascript" charset="utf-8"> <!-- jQuery(document).ready(function() { jQuery('#my_data_table').dataTable();({ bJQueryUI:true, sScrollY:300, bScrollInfinite:true, bScrollCollapse:true }) } ); // --></script></p>
on the page, but it doesn’t work. I’ve tried it with and without the
<!-- and //-->
and I’ve tried putting it into a shortcode instead of on the page. I know datatables can work on my site because there’s a datatable shortcode in contact-form-7-to-database-extension plugin that works. Unfortunately, that one is too limited for what I need to do.
- The topic ‘adding Datatable functions to a table’ is closed to new replies.