Update Options on Existing jQuery Object
- by Vince Kronlein
I'm using Bootstrap and DataTables in my app and I have a default initializer for tables based on class. I can just add the class data-table to the table and it gets instantiated with the default values I want.
I'd like to know how to change or update specific options based on a specific table.
if ($.fn.dataTable) {
…