function loadCodeExecutionJSON(callback) {   
  var xobj = new XMLHttpRequest();
      xobj.overrideMimeType("application/json");
  xobj.open('GET', '_static/code-execution-results.json', true); // Replace 'appDataServices' with the path to your file
  xobj.onreadystatechange = function () {
        if (xobj.readyState == 4 && xobj.status == "200") {
          // Required use of an anonymous callback as .open will NOT return a value but simply returns undefined in asynchronous mode
          callback(xobj.responseText);
        }
  };
  xobj.send(null);  
}
// Populate status page from code execution results JSON
Populate status page from code execution results JSON
Populate status page from code execution results JSON
function loadCodeExecutionJSON(callback) {   
  var xobj = new XMLHttpRequest();
      xobj.overrideMimeType("application/json");
  xobj.open('GET', '_static/code-execution-results.json', true); 
  xobj.onreadystatechange = function () {
        if (xobj.readyState == 4 && xobj.status == "200") {
          callback(xobj.responseText);
        }
  };
  xobj.send(null);  
}
function loadCodeExecutionJSON ( callback ) { var xobj = new XMLHttpRequest ( ) ; xobj . overrideMimeType ( "application/json" ) ; xobj . open ( 'GET' , '_static/code-execution-results.json' , true ) ; xobj . onreadystatechange = function ( ) { if ( xobj . readyState == 4 && xobj . status == "200" ) { callback ( xobj . responseText ) ; } } ; xobj . send ( null ) ; }
Populate status page from code execution results JSON
Populate status page from code execution results JSON
// Replace 'appDataServices' with the path to your file // Required use of an anonymous callback as .open will NOT return a value but simply returns undefined in asynchronous mode