|
Home » Development Area » DigiGuide Listings Grabber » API Index » Class: XMLHttpRequest » statusText Property
Class XMLHttpRequest : statusText Property
String statusText; |
Summary
Text description of the status.
Examples
Shows how you could use the statusText to display to the user.var client = new XMLHttpRequest();
client.open("GET", "http://www.digiguide.com/i/nav/banner_gradient.gif", false );
client.send("");
if( client.status == "200" ) { // Success! } else if( client.status == "304" ) { lp.writeLog( "Not modified since: " + client.getResponseHeader( "last-modified" ) ); } else { alert( "Failed with error " + client.status + " " + client.statusText ); return false; }
|
Requirements
Build Build 1
(Last updated: October 12, 2007 16:17:17)
|
|