1/*æé®ä¹ç±»çæäº¤æ¶disabled, ç¶åæäº¤å®æèªå¨enable; ç¨å¨æäº¤å¨ä½åçå, å¦ onsubmit ä¸ 2ç¨æ³ä¸¾ä¾ï¼ åè§æ¬ç®å½formfuncdemo.htm 3*/ 4function VsbFormFunc() 5{ 6 var _this = this; 7 _this.disableAutoEnable = function(o) 8 { 9 o.disabled=true; 10 setTimeout(function(){_this.enableOnComplete(o);}, 500); 11 } 12 13 _this.enableOnComplete = function(o) 14 { 15 if(window.document.readyState=='complete') 16 { 17 o.disabled = false; 18 } 19 else 20 { 21 setTimeout(function(){_this.enableOnComplete(o);}, 500); 22 } 23 } 24}; 25function changebase64_util(nameList,formName) 26{ 27 if(!!nameList && nameList.length>0) 28 { 29 for(var i=0;i<nameList.length;i++) 30 { 31 var realName = nameList[i]; 32 var tmpName = realName+"_temp"; 33 try{ 34 var tmpNameObj = eval("document."+formName+"."+tmpName); 35 var nameObj = eval("document."+formName+"."+realName) 36 if(tmpNameObj &&nameObj) 37 { 38 nameObj.value=new Base64().encode(tmpNameObj.value); 39 new VsbFormFunc().disableAutoEnable(tmpNameObj); 40 } 41 }catch (e){} 42 } 43 } 44 return true; 45} 46 47 48 49
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.