简单js读取xml建tree.docxVIP

  • 3
  • 0
  • 约5.11千字
  • 约 7页
  • 2016-08-19 发布于贵州
  • 举报
简单js读取xml建tree

1.所需文件2.tree.html!DOCTYPE html PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN /TR/html4/loose.dtdhtmlheadmeta http-equiv=Content-Type content=text/html; charset=UTF-8titleInsert title here/titlescript type=text/javascript src=js/jquery-1.7.2.js/scriptscript type=text/javascript $(function(){varxmlDoc=null;//支持IE浏览器if(window.ActiveXObject){ xmlDoc=new ActiveXObject(Microsoft.XMLDOM); } //支持Mozilla浏览器else if(document.implementation document.implementation.createDocument){ xmlDoc = document.implementation.createDocument(,,null); }if(xmlDoc!=null){ xmlDoc.async = false; xmlDoc.load(tree.xm

文档评论(0)

1亿VIP精品文档

相关文档