藍森林首頁 | 返回主頁 | 本站地圖 | 站內搜索 | 聯繫信箱 |
 您目前的位置:首頁 > 自由軟件 > 技術交流 > 應用編程


    

藍森林 http://www.lslnet.com 2006年8月25日 8:28

請教錯誤原因?

錯誤1:
strContent=re.Replace(strContent,"<a onfocus=this.blur() href=""$1://$2"" target=_blank><IMG SRC=""$1://$2"" border=0 alt=按此在新窗口瀏覽圖片 onload=""javascript:if(this.width>screen.width-333)this.width=screen.width-333""></a>")

報如下錯誤:
   Microsoft VBScript 運行時錯誤 錯誤 '800a139a'
   錯誤的數量詞
----------------------------------------------------------------------------------------
錯誤2:
   return s.replace(/\'/gm,"''");
報如下錯誤:缺少 ')'

這兩個錯誤在本地調試正常,虛機卻不能使用!

d

錯誤1:
strContent=re.Replace(strContent,"<a onfocus=this.blur() href=""$1://$2"" target=_blank><IMG SRC=""$1://$2"" border=0 alt=按此在新窗口瀏覽圖片 onload=""javascript:if(this.width>screen.width-333)this.width=screen.width-333""></a>"

報如下錯誤:
Microsoft VBScript 運行時錯誤 錯誤 '800a139a'
錯誤的數量詞
----------------------------------------------------------------------------------------
錯誤2:
return s.replace(/\'/gm,"''";
報如下錯誤:缺少 ')'

這兩個錯誤在本地調試正常,虛機卻不能使用!




Copyright © 1999-2000 LSLNET.COM. All rights reserved. 藍森林網站 版權所有。 E-mail : webmaster@lslnet.com