datatable bootstrap cllick on specific button

Solutions on MaxInterview for datatable bootstrap cllick on specific button by the best coders in the world

showing results for - "datatable bootstrap cllick on specific button"
Veronica
05 Apr 2016
1// https://stackoverflow.com/a/32475592/3673842
2
3// html
4'<button class="my-custom-button btn btn-outline-danger">My custom button</button>'
5
6$('#table-id tbody').on( 'click', 'button.my-custom-button', function () {
7  alert(alert($(this).text())) // will display "My custom button"
8})
9