2011年3月1日

谷歌浏览器加载XML文件的问题

摘要: W3CSchool的教程中提供过一个loadXMLDoc函数:function loadXMLDoc(url) { var xmlDoc; try{ xmlDoc=new ActiveXObject("Microsoft.XMLDOM"); } catch(e){ try{ xmlDoc=document.implementation.createDocument("","",null); }catch(e){ alert(e.message); return; } } xmlDoc.async=false; xmlDoc.load( 阅读全文

posted @ 2011-03-01 22:09 cnwhy 阅读(5621) 评论(4) 推荐(0) 编辑

导航