JavaScript/DOM/XML & 技术 21 May 2007 04:26 pm
使用javascript文档对象模块时记得new string一下
如: var newlocation = new String(document.location)
否则使用newlocation.sqlit(’\?’)等方法会报错。
JavaScript/DOM/XML & 技术 21 May 2007 04:26 pm
如: var newlocation = new String(document.location)
否则使用newlocation.sqlit(’\?’)等方法会报错。