AJAX教程

    1. 通过 XML HTTP 加载 XML 文件
    2. 易淘[www.etaonet.com]整理    2009/6/7 11:39:19
    3. var xmlhttp; function loadXMLDoc(url) { xmlhttp=null; if (window.XMLHttpRequest) {// code for IE7, Firefox, Opera, etc. xmlhttp=new XMLHttpRequest(); } else if (window.ActiveXObject) {// code for IE6, IE5 xmlhttp=new ActiveXObjec...
    1. 把 XML 文件显示为 HTML 表格
    2. 易淘[www.etaonet.com]整理    2009/6/7 11:36:56
    3. var xmlhttp; function loadXMLDoc(url) { xmlhttp=null; if (window.XMLHttpRequest) {// code for IE7, Firefox, Mozilla, etc. xmlhttp=new XMLHttpRequest(); } else if (window.ActiveXObject) {// code for IE5, IE6 xmlhttp=new ActiveXObj...
    1. 通过XML HTTP把文本文件载入HTML元素
    2. 易淘[www.etaonet.com]整理    2009/6/7 11:32:08
    3. var xmlhttp; function loadXMLDoc(url) { xmlhttp=null; if (window.XMLHttpRequest) {// code for Firefox, Opera, IE7, etc. xmlhttp=new XMLHttpRequest(); } else if (window.ActiveXObject) {// code for IE6, IE5 xmlhttp=new ActiveXObjec...

1

最新资讯