HtmlService.createTemplateFromFile deletes all comments
I’m using the following code to get my page code. when I print out the html, all comments are removed. is there anyway to keep the comments?
Use google drive images on a generate html with google app script
I would like to generate before a form in my html an overview of all the existing images (thumbnail) format on the webpage.
So the users can select one photo that will copy on do the form also in this page. Submitting the form will only send the number of the selected images and all the data that are entered in the form. I can’t find a way how to do this:
This is the base in html for selecting the image – based on radiobuttoms but disabled via CSS). By this ways you can only choose one image. The aim is via javascript copy the selected reference into the form element that follows.
See example of the html: