logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

javascript 中的replace方法

第一次发现javascript中replace() 方法如果直接用str.replace("-","!") 只会替换第一个匹配的字符. replace() The replace() method returns the string that results when you replace text matching its first argument    (a regular e

#javascript
xml,dtd javaScript实现xml测试(1) http://www.51www.info/csdn/3116/1112/1124/264849397.html

关键字:ActiveXObject,MSXML2.DOMDocument.3.0,loadXML(),selectNodes,getAttributes比如xxxxxxxxxxxx查询num的值var doc = new ActiveXObject("MSXML.DOMDocument");doc.loadXML(xml);var nod = doc.selectNodes("//Item

#xml#javascript#测试
到底了