I am fairly new to all this but am looking to populate an Apps Script Web App HTML dropdown form entry with names directly from a Google Spreadsheet. So far I have been able to
getColleagueList() should be a server side function. You can put it in Code.gs file. Then call the server side function from JavaScript as follow:
You can learn more here: https://developers.google.com/apps-script/guides/html/communication