function createOrgInfo(orgName, container) { queryAPIByOrg("", orgName, (orgData) => { console.log("called"); var html = "
\
\

"+orgData.name+"

" + (orgData.description != null ? "

"+orgData.description+"

" : "") + " \
\ \
" $("#" + container).html(html); setTimeout(function() { $('#dataTable').DataTable(); }, 1500); }, function(error) { alert("Organization Does Not Exist"); window.location.href = "./GraphGenerator.html"; }); }