skip to Main Content

Pass Javascript variable to TYPO3 variable

With the following JS I get the height of a div document.addEventListener( "DOMContentLoaded", () => { const element = document.getElementById("c27"); let text = element.offsetHeight + "px"; document.getElementsByTagName("divSize").??? = text; } ); Now I want to pass the variable to a…

VIEW QUESTION
Back To Top
Search