Cross-Domain API_GenResultsTable (QuickBase)

Example of calling API_GenResultsTable cross-domain. See http://community.intuit.com/posts/cross-domain-scripting

JavaScript

var url = "";
url += "https://catapultlearningllc.quickbase.com/db/main";
url += "?act=API_Authenticate";
url += "&qid=6";
url += "&jsa=1";
$.getScript(url, function () {
    var length = 0;
    for (var irow = 0; irow < qdb_numrows; irow++) {
        for (var icol = 0; icol < qdb_numcols; icol++) {
            length += qdb_data[irow][icol].length;
        }
    }
    alert("The total length of the text within the qdb_data array is: " + length);
});