admin管理员组文章数量:1332865
The Browser.msgBox("hello")
method lets me display the text "hello" to the user in a message box, but if I put any HTML in there, for example "Hi there", the user just sees the HTML tags.
Is there a way to display a popup with simple HTML to the user from withing google apps script?
The Browser.msgBox("hello")
method lets me display the text "hello" to the user in a message box, but if I put any HTML in there, for example "Hi there", the user just sees the HTML tags.
Is there a way to display a popup with simple HTML to the user from withing google apps script?
Share Improve this question asked Apr 29, 2010 at 19:48 Jose M VidalJose M Vidal 9,1597 gold badges48 silver badges51 bronze badges2 Answers
Reset to default 3If you want to display a more plex UI, check out the new UIApp service google added:
http://code.google./googleapps/appsscript/service_ui.html
The documentation is pretty sparse, so check out their examples:
http://code.google./googleapps/appsscript/guide_user_interfaces.html
You can also directly use UI.showModalDialog.
https://developers.google./apps-script/reference/base/ui#showModalDialog(Object,String)
本文标签: javascriptDisplay HTMLformated message box in Google Apps ScriptStack Overflow
版权声明:本文标题:javascript - Display HTML-formated message box in Google Apps Script? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742288458a2447355.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论