js解析xml文件
摘要:function initTreeNode(dtree) { var xmlDoc = new ActiveXObject("Microsoft.xmldom"); xmlDoc.async=false; xmlDoc.load("PatientInfo.xml");//加载xml文件 if(xmlDoc.parseError.errorCode != 0) window.alert(x...
阅读全文
posted @
2010-02-04 17:05
bestsaler
阅读(163)
推荐(0) 编辑
js 全部替换 函数
摘要:var n="-1"; function loadFiles(){{var pafpath = window.location.href.substring(0,window.location.href.lastIndexOf("/")+1);pafpath = pafpath.substring(pafpath.indexOf("///")+3,pafpath.length).replace(...
阅读全文
posted @
2010-02-04 17:02
bestsaler
阅读(198)
推荐(0) 编辑
C#文件操作源码 递归复制一个目录 递归删除文件 和 文件夹
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.IO;namespace Common.Files{ public class FileOperator { /// /// /// /...
阅读全文
posted @
2010-02-03 15:17
bestsaler
阅读(173)
推荐(0) 编辑