|
藍森林 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,"''";
報如下錯誤:缺少 ')'
這兩個錯誤在本地調試正常,虛機卻不能使用! |
|