1(function(){ 2 var $ = FI.jQuery; 3 4 $( function() { 5 $( '#idform' ).submit( 6 function() { 7 var errFlag=0; 8 var pageurl=""; 9 var findText = document.idform.idtxt.value; // æ¤ç´¢ããæå 10 if(findText.length != 7){ 11 errFlag=1; 12 }else if(findText.match(/[^0-9]+/)){ 13 errFlag=1; 14 } 15 16 if(errFlag == 1){ 17 $( '#idresult' ).remove(); 18 $( '.navidetail' ).append( '<div id="idresult"><p>IDçªå·ã¯åè§æ°å7æ¡ã§å ¥åãã¦ãã ããã</p></div>' ); 19 }else{ 20 /*æ¤ç´¢ã¯ã¼ãåå¾*/ 21 $.ajax({ 22 type: "GET", 23 scriptCharset: 'utf-8', 24 url: "./allpages.json", 25 dataType : 'json', 26 success: function(data) { 27 pageurl=data[findText]; 28 if(pageurl != null){ 29 window.open(pageurl,"_self"); 30 }else{ 31 $( '#idresult' ).remove(); 32 $( '.navidetail' ).append( '<div id="idresult"><p>該å½ã®ãã¼ã¸ã¯ããã¾ããã</p></div>' ); 33 } 34 }, 35 error: function(){ 36 $( '#idresult' ).remove(); 37 $( '.navidetail' ).append( '<div id="idresult"><p>IDæ¤ç´¢ãã¹ã¿ãã¡ã¤ã«åå¾ã¨ã©ã¼</p></div>' ); 38 } 39 }); 40 } 41 42 return false; 43 } 44 ); 45 }); 46})();
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.