Can't get the current page as parameter when the next button is clicked

前端 未结 2 342
别跟我提以往
别跟我提以往 2021-01-21 07:48

I\'m trying to get the page number as a parameter when the next button is clicked.

I\'m trying to achieve it using the below code:



        
2条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-21 08:22

    pgButton is a String. You should write if (pgButton == "next"). See: http://www.trirand.com/jqgridwiki/doku.php?id=wiki:pager#events

提交回复
热议问题