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.