I am trying to set up a web application that contains 2 html pages. One is the login page and another present the data. However, I have difficulty re-loading or doing DOM manipulation once the user click the login button (which called a server-side function). I have read from previous instruction that google app script could only host one HTML and dose not support DOM manipulation. I tried to do reload the page but it dose not work. Is there any way to bypass the limitation ?
Asked
Active
Viewed 56 times
0
-
5An Apps Script Web App *can* do DOM manipulation. You can implement page navigation. You can retrieve content from the server after the Web App has loaded and inject that content into the HTML. You can load different content when the Web App first loads depending upon a search string ending on the URL. Trying to cover all of those topics and more is basically a tutorial, not a specific programming answer. – Alan Wells Jun 22 '19 at 16:35
-
Post a minimal version of your server-side JavaScript and HTML files. One issue you may be having is if your button is inside of a – dwmorrin Jun 22 '19 at 23:14
-
Take a look at this https://stackoverflow.com/questions/46940930/multi-page-site-in-google-apps-script-how-to-invoke-doget-through-jquery-or-j/46943386#46943386 – Cooper Jun 23 '19 at 00:18