Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

set the html of the .template-target to be the the html from the template element.

<script type="text/javascript">
$( document ).ready(function() {
var template = $('template').html();
$('.template-target').html(template);
});
</script>
 
PREVIOUS NEXT
Tagged: #set #html #html #template
ADD COMMENT
Topic
Name
6+2 =