I am working with a web app. I have a button that activates a function in a .gs file that retrieves data (an array of numbers). I need to send this data over to the html to be displayed. I have tried returning the .gs function but that does not give an output.
-
3Take a look at templated html in the documentation. If you don't like templated html you can use the onReadyState event to get the data from the server using google.script.run.withSuccessHandler().functionName() also in the documentationCooper– Cooper2020-09-25 17:42:02 +00:00Commented Sep 25, 2020 at 17:42
-
1This is perfect! Thank you so much! please post this as an answer so I can mark this as answered for other people to see.Мatthew Kharlip Teytelboym– Мatthew Kharlip Teytelboym2020-09-25 18:38:23 +00:00Commented Sep 25, 2020 at 18:38
Add a comment
|