attaches html container to the template
| node |
//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