ajax读取文件读入文本文件
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 ActiveXObject("M...
读入文本文件
读入XML
Using the HttpRequest Object
Status:
Status text:
Response:
Make a HEAD request with XML HTTP
The getAllResponseHeaders() function returns the headers of a resource.
The headers contain file information like length,
server-type, content-type, date-modified, etc.
Make a specified HEAD request with XML HTTP
The getResponseHeader() function returns a header from a resource.
Headers contain file information like length,
server-type, content-type, date-modified, etc.
Display an XML file as an HTML table
Online communication with server while typing input using XML HTTP