I am trying to bind a template to my view. But I keep getting template with ID error.
Template: <script type="text/html" id="Template">
//some html markup
</script>
View : <div data-bind="template: {name: 'Template'}"></div>
It works!
ko.applyBindings({});
<script src="//knockoutjs.com/downloads/knockout-3.3.0.js"></script>
<script type="text/html" id="Template">
some Markup
</script>
<div data-bind="template: {name: 'Template'}"></div>