Get element by id
So , trying to use the in -built Get - - - - > Get element by id functionality (not a custom -written JavaScript function ) to return the available paths for a main div from which I hope to extract the current scroll state . The intent is to change the opacity of my persistent 'sticky ' header div whenever the underlying main div contents scroll behind it . Can 't seem to get Get element by id (in formula ) to return anything . I am sure that I am just doing it wrong . Thoughts ? One trick I learned a while back is to use 'On load ' and set an empty variable . Use 'Set ' with an empty array as the object and 'Get element by ID ' as the value (key doesn 't matter ) . Then , in the same action , log to console the value of the variable and you should see all paths . You should then be able to use 'Get ' with 'Get element by ID ' as the object and the path you need as the path e .g . innerHTML , etc . I had to do something like this when I was working on th toddle RTE last year . 👍1

.jpeg/public)