PageSourceSearch

https://www.juhe.cn/js/ucenter/paginate.js?v=13.0.9

js juhe.cn collected 2026-10-03 19:19:12 UTC 612 bytes, 30 lines download raw bytes

1$(function () {
2  //分页跳转
3  $(".goPageInput").keydown(function (e) {
4    if (e.keyCode == 13) {
5      goPage(".goPageInput");
6    }
7  });
8  $("#okSearch").click(function () {
9    goPage(".goPageInput");
10  });
11});
12
13function goPage(selected) {
14  var num = $(selected).val();
15  var max = $(selected).attr("max");
16  if (isNaN(num)) {
17    alert("请输入数字!");
18    $(selected).val(1); //如果输入的不是数字,则默认为1
19    return false;
20  }
21
22  if (num - max > 0) {
23    num = max;
24  }
25  if (num < 1) {
26    num = 1;
27  }
28  var action = $(selected).attr("action");
29  location.href = action + num;
30}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.