Another question that I haven’t figure it out yet is how to place the script in a way that I still have control.
Currently, I have tried to place the javascript as custom embeds but when publishing the page, the javascript doesn’t show the results to display. The only way I have found that it works is if I place the code inside the body of custom code under settings.
If I place it there it shows it content but it breaks the design. It shows on the top of the navigation and I cannot move it or place it anywhere else.
When looking at the code from the browser I see the javascript there.
What I’m trying to accomplish is to get the user zip code input, from a previous page, that I have been able to save in the session and replace the value “zip” from the javascript from the value saved in the session, while being able to place the results inside the design of the page.
@faznar The article that I linked to shows how to send messages to and from an HtmlComponent . This will not work for custom embeds (in the header/body/footer).
You can also use a Custom Element which allows much greater flexibility.