When doing getElementById()
in a Google Apps Script deployed as a Web app is it possible to know the parent of this element in Google Apps Script?
I have tried javascript expressions like .parentNode
and .parentElement
together and without the .id
expression. I also used the parent()
function but all return an error.
Here you can see all the different posibilities I tried.
The errors are :
- Cannot find parent in object button
- Cannot call method add of undefined
I saw that in the htmlservice you can use the parentNode is it not possible within google apps scripts deployed as web app?