Google sheet html not calling script function
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have the following html code in my google app. IT should call the function below but I'm getting nothing. I've used the same script throughout my code until now <div id= "right_column"> <p> <input type="button" value="Enter Grades for Selected Lessons" onclick="google.script.run.withSuccessHandler(showMsgForLoginAttempt).generate_grades_for_lesson(this.parentNode)"/> </p> </div> Here is the code for the function function generate_grades_for_lesson(formObject) { msgBox("Hello"); } Any help is appreciated 回答1: Use form instead of p around