【发布时间】:2019-07-19 11:55:59
【问题描述】:
我在 AppMaker 页面上有一个在客户端执行功能的按钮
function showall(){
app.pages.ProjectComposant.children.Html1.html = google.script.run.showhtml();
}
而服务器端的功能是
function showhtml(){
return "<p>test</p>";
}
但服务器不返回字符串。我尝试使用withSuccessHandler(),但客户端脚本上没有 onSucess 处理程序
还有另一种从服务器获取返回值的方法吗? 坦克
【问题讨论】:
-
我坚信,如果您研究这里提供的问题和答案stackoverflow.com/questions/41645111/…,您就会明白的。
-
谢谢它完美运行!
标签: javascript google-app-maker