Board Thread:Support Requests - Getting Started/@comment-24553580-20190916154723

I want to configure and load a template through a Javascript. However, I am curious to know if the template will be loaded before I actually try implementing the script. Does the template always need to be pre-defined in the HTML before it can be loaded or will this work:

var containers = document.getElementsByClass("template-container");

for (int i = 0; i < containers.length; i++) { var container = containers[i]; container.innerHtml = ""; }

EDIT: I tried adding this to the technical board, but it kept rejecting my question. 