attaches html container to the template
node | any | HTML node, or ID of html element that need to be attached |
//assuming that we have <div id="a12">Content</div>
$$("mytemplate").setContent( document.getElementById("a12") );
//or
$$("mytemplate").setContent( "a12");
Works similar to the content property
Back to top