I have a situation where I have 2 buttons positioned next to each other:
Current year PR signature
and Prior year PR signature
Upon clicking on either the Current year or Prior year PR signature button for the first time, it successfully retrieves and displays the grid data of the respective year.
However, upon clicking on these buttons for the second time, the event does not trigger as expected.
Could someone kindly offer any insights or suggestions on how to address this issue?
The desired outcome is that the button should still function properly even after being clicked multiple times.
// Click event listener for the Current Year PR Signatures button
$('#SignatureMaintenance_Currentyearreporting_Button').on('click', function () {
// Add logic here
});
// Click event listener for the Prior Year PR Signatures button
$('#SignatureMaintenance_Prioryearreporting_Button').on('click', function () {
// Add logic here
});