using page.jumpToData and then finding the page number

using page.jumpToData and then finding the page number

Dane JurkovicDane Jurkovic Posts: 12Questions: 6Answers: 0

First thank you to anyone that helps me with this issue....

Here is a jsfiddle page with code that I am trying to get to work. At the top there is a textbox that I am trying to fill in with the current page number after the jumpToData runs. It's not working and I can't figure it out.

Any help would be great! Thanks again...

This question has an accepted answers - jump to answer

Answers

  • kthorngrenkthorngren Posts: 20,301Questions: 26Answers: 4,769
    Answer ✓

    You have $('#xCPN').val(info.page); and getting the error:

    Uncaught TypeError: "#xCPN".val is not a function

    You need to add a $ like this: $('#xCPN').val(info.page);.
    https://jsfiddle.net/2o7e6vkr/

    Kevin

This discussion has been closed.