http://temp_obj/"); ol=w.document.getElementsByTagName("img"); for(var i=0;i)*(\s)*$/i.test(html)) html=""; else if(/^\s*(
)*( )*\s*\n*\r*(<\/p>)*\s*$/i.test(html)) html=""; return html; } function isEmpty(){ return getContent()==""?true:false; } function dejs(str){ str=str.replace(/\]+\>/g,function($0){ return /^\s*<(.*(src=).*\.do[\"|\'|\&|\?|]|object|embed|script|iframe|style|link|meta|title|body|bgsound|frame|textarea|text|button|input|(\/script>)|\/embed>|\/object>|\/style\>|\/iframe>|\/title>|\/body>|\/textarea>|\/text>|\/button>)/i.test($0)?"":$0.replace(/\b(position)\s*\:\s*(absolute|static|relative)\s*[;|]/gi,""); }); return str; } function createBtn(img,title,fnClick,id){ s='

'; insHtml("toolbar",s); oImg=$("toolbar").lastChild; oImg.onmouseover=oImg.onmouseup=function(){this.className="active"} oImg.onmousedown=function(){this.className="active"} oImg.onmouseout=function(){this.className=""} oImg.firstChild.onclick=fnClick; } function fillHtml(id,str){ var oBx=$(id),oName=oBx.tagName.toLowerCase(); if(oName=="select"){ while(oBx.options.length>0) oBx.removeChild(oBx.options[0]) } else if("table,tbody".inStr(oName)){ if(oName=="table"&&oBx.tBodies.length==0) oBx.appendChild(document.createElement("tbody")); oBx.replaceChild(document.createElement("tbody"),oBx.tBodies[0]); } else oBx.innerHTML=""; insHtml(oBx,str); } function insHtml(id,str,oRefer){ var oDiv=document.createElement("div"),oBx=tBx=$(id),oRefer=oRefer==null?null:oRefer,oName=oBx.tagName.toLowerCase(),ol; id=typeof(id)=="string"?id:id.id; if("table,tbody".inStr(oName)){ oDiv.innerHTML=""+str+" "; ol=oDiv.childNodes[0].tBodies[0].rows; if(oName=="table"){ if(oBx.tBodies[0].length==0) oBx.appendChild(document.createElement("tbody")); tBx=oBx.tBodies[0]; } } else if(oName=="select"){ oDiv.innerHTML=""+str+""; ol=oDiv.childNodes[0].options; } else if("div,span,body,label,ul,li".inStr(oName)){ oDiv.innerHTML=str; ol=oDiv.childNodes; } while(ol.length>0) tBx.insertBefore(ol[0],oRefer); if(oName=="select") window.setTimeout("$('"+id+"').selectedIndex=0",10); }

这是显示的乱码的一部分"/>

校内网的日志不能留言

发布时间:2024-05-10 06:28 发布:上海旅游网

问题描述:

怎么回事啊 留言框里显示一堆乱码 “发表”也改成“保存”了

璺?缎
蹇呴』涓篽ttp://鍜宖tp://寮€澶?:"璇疯緭鍏ュ浘鐗囱矾寰?br />蹇呴』涓篽ttp://寮€澶达紝鏀?寔镙煎纺jpg,gif,png,bmp"),"value":"http://"},"dialogwidth:354px;dialogheight:152px;status:no;help:no") else str=prompt(info,"http://") if(str==null)return; str=checkJs(str,s1,s2); if(cmd=="createlink") exec(",http://,ftp://".inStr(str)?"unlink":"createlink",str); else{ if(!",http://".inStr(str)) editor_paste(''); } } } function editor_paste(html){ var w=ow("eEditor"); if(browser.msie){ w.focus(); w.range=w.rge||w.document.selection.createRange(); w.range.select(); try{ w.range.pasteHTML(html); w.rge=w.range; } catch(e){w.document.body.insertAdjacentHTML("beforeend",html)} } else{ var ol,i,nl=[],r=w.document.createRange(); if(html=="") return; w.document.execCommand("insertimage",false,"http://temp_obj/"); ol=w.document.getElementsByTagName("img"); for(var i=0;i)*(\s)*$/i.test(html)) html=""; else if(/^\s*(
)*( )*\s*\n*\r*(<\/p>)*\s*$/i.test(html)) html=""; return html; } function isEmpty(){ return getContent()==""?true:false; } function dejs(str){ str=str.replace(/\]+\>/g,function($0){ return /^\s*<(.*(src=).*\.do[\"|\'|\&|\?|]|object|embed|script|iframe|style|link|meta|title|body|bgsound|frame|textarea|text|button|input|(\/script>)|\/embed>|\/object>|\/style\>|\/iframe>|\/title>|\/body>|\/textarea>|\/text>|\/button>)/i.test($0)?"":$0.replace(/\b(position)\s*\:\s*(absolute|static|relative)\s*[;|]/gi,""); }); return str; } function createBtn(img,title,fnClick,id){ s='

'; insHtml("toolbar",s); oImg=$("toolbar").lastChild; oImg.onmouseover=oImg.onmouseup=function(){this.className="active"} oImg.onmousedown=function(){this.className="active"} oImg.onmouseout=function(){this.className=""} oImg.firstChild.onclick=fnClick; } function fillHtml(id,str){ var oBx=$(id),oName=oBx.tagName.toLowerCase(); if(oName=="select"){ while(oBx.options.length>0) oBx.removeChild(oBx.options[0]) } else if("table,tbody".inStr(oName)){ if(oName=="table"&&oBx.tBodies.length==0) oBx.appendChild(document.createElement("tbody")); oBx.replaceChild(document.createElement("tbody"),oBx.tBodies[0]); } else oBx.innerHTML=""; insHtml(oBx,str); } function insHtml(id,str,oRefer){ var oDiv=document.createElement("div"),oBx=tBx=$(id),oRefer=oRefer==null?null:oRefer,oName=oBx.tagName.toLowerCase(),ol; id=typeof(id)=="string"?id:id.id; if("table,tbody".inStr(oName)){ oDiv.innerHTML=""+str+" "; ol=oDiv.childNodes[0].tBodies[0].rows; if(oName=="table"){ if(oBx.tBodies[0].length==0) oBx.appendChild(document.createElement("tbody")); tBx=oBx.tBodies[0]; } } else if(oName=="select"){ oDiv.innerHTML=""+str+""; ol=oDiv.childNodes[0].options; } else if("div,span,body,label,ul,li".inStr(oName)){ oDiv.innerHTML=str; ol=oDiv.childNodes; } while(ol.length>0) tBx.insertBefore(ol[0],oRefer); if(oName=="select") window.setTimeout("$('"+id+"').selectedIndex=0",10); }

这是显示的乱码的一部分

问题解答:

校内网的日志不能留言这个旅游问答期待您的解答,请登录账号或关注微信公众号回答这个问题。

热点新闻