ModifyCode:
$ This. find (setting. jumpto $ ). each (function () {var $ this = $ (this); var $ inputbox = $ this. find (": Text"); var $ button = $ this. find (": button"); $ button. click (function (event) {varpagenum = $ inputbox. val (); If (pagenum & pagenum. ispositiveinteger () {// determines whether it is greater than the total number of pages. If it is greater than the total number of pages, go to the first page @ ketayao if (pagenum> PC. numpages () {pagenum = 1;} // determine whether the page number is greater than the total number of pages. If the page number is greater than the total number of pages, go to the first page @ ketayao dwzpagebreak ({targettype: pc.tar GetType (), Rel. REL (), data: {pagenum: pagenum}) ;}}; $ inputbox. keyup (function (event) {If (event. keycode = dwz. keycode. enter) $ button. click ();});});
Of course, you can also perform other jump logic.