Skip to content
Snippets Groups Projects
Select Git revision
  • 936013749b542e754b7ae5db42db646e6a0442b9
  • main default
  • logRegressionVisuals
  • Dashboard
  • explainerAnnotation
  • DT-Class-Design
  • WIP-4-ModelCreation-class
  • Data_Ingestion_Class_Creation
  • 3-dummy-issue
  • 5-feature
10 results

DataIngestion.py

Blame
  • index.js 583 B
    function goToCCI() {
        window.open('https://drexel.edu/cci/');
    }
    
    
    /**
     * Week 6
     */
    function getBooks() {
        let xhr = new XMLHttpRequest();
        xhr.open("GET", "/getBooks");
        xhr.onreadystatechange=function() {
            myCallBack(xhr);
          };
        xhr.send(null);   
    }
    
    function myCallBack(xhr) {
        if (xhr.readyState==4 && xhr.status==200) {
            let table = document.getElementById('book-list');
            table.innerHTML = `<tr>
            <th>Title</th>
            <th>Author</th>
            <th>ISBN</th>
            <th>Available?</th>
            </tr>` + xhr.responseText;
        }
    }