How can I hide specific button in pagination like "Next" button

How can I hide specific button in pagination like "Next" button

okayeeokayee Posts: 22Questions: 6Answers: 0

This is the scenario, so I have a condition that if my request has empty return. I must hide the "Next" button. I dont want to disable it. I need to hide it once the return is empty.

Answers

  • colincolin Posts: 15,143Questions: 1Answers: 2,586

    Hi @okayee ,

    Yep, you can just call:

    $('.paginate_button.next').hide();
    

    as in this example here.

    Cheers,

    Colin

This discussion has been closed.