You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, excellent article, thanks. However, there is one issue that I have found, that is the number of errors thrown up when debugging the HTML.
In the Function response(), in "get the xml stream" xmlResponse needs to be wrapped with if(this.responseXML != null){}
i.e.
// function to handle the response from the ESP
function response(){
var message;
var barwidth;
var xmlResponse;
var xmldoc;
var color = "#e8e8e8";
// get the xml stream
if(this.responseXML != null){
xmlResponse = xmlHttp.responseXML;
console.log(xmlResponse);
....
....
....
....
....
}
} // END If NULL
}
The text was updated successfully, but these errors were encountered:
Hi, excellent article, thanks. However, there is one issue that I have found, that is the number of errors thrown up when debugging the HTML.
In the Function response(), in "get the xml stream" xmlResponse needs to be wrapped with if(this.responseXML != null){}
i.e.
// function to handle the response from the ESP
function response(){
var message;
var barwidth;
var xmlResponse;
var xmldoc;
var color = "#e8e8e8";
....
....
....
....
....
The text was updated successfully, but these errors were encountered: