I am trying to add the javascript code below to track "Clear" & "Ok" button click event. The click event is working for "Clear" button but not for "Ok" button. Please advise.
$('body').on('click', '#tabs-filter button', function() {
console.log('Button clicked!');
});