function createOrgInfo(orgName, container) { queryAPIByOrg("", orgName, (orgData) => { var html = `
${orgData.name}

${orgData.name}

${orgData.description}

  • ${orgData.location}
`; $("#" + container).html(html); }, function(error) { alert("Organization Does Not Exist"); window.location.href = "./GraphGenerator.html"; }); }