Skip to content

Instantly share code, notes, and snippets.

@scdekov
Created March 7, 2017 13:30
Show Gist options
  • Save scdekov/568fba500439ea77dc03bb93753041bf to your computer and use it in GitHub Desktop.
Save scdekov/568fba500439ea77dc03bb93753041bf to your computer and use it in GitHub Desktop.
<script type="text/html" id="template_holder"></script>
<script type="text/javascript">
$('#template_holder').load('templates/a_template.html', function() {
alert('Load was performed.');
//knockout binding goes here
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment