How can i change button style inside JavaScript for bootstrap table?
`
$(document).ready(function() {
var table = $(‘#example’).DataTable();
new $.fn.dataTable.Buttons( table, {
buttons: [
{
text: 'Button 1',
action: function ( e, dt, node, conf ) {
alert( 'Button activated' );
}
},
{
text: 'Button 2',
action: function ( e, dt, node, conf ) {
alert( 'Button activated' );
}
}
]
} );
table.buttons( 0, null ).container().prependTo(
table.table().container()
);
} );
`
I have no idea at all how to styling that button. Thanks for your help