<script type="text/x-kendo-template" id="myTemplate">
<ul>
# for(var i=0;i<data.length;i++) { #
<li>#= data[i] #</li>
# } #
</ul>
</script>
<script type="text/javascript">
$(function() {
var myTemplate = kendo.template($("#myTemplate").html());
var newHTML = myTemplate(["Neo", "Shelly", "Will"]);
console.log(newHTML);
/*
<ul>
<li>Neo</li>
<li>Shelly</li>
<li>Will</li>
</ul>
*/
});
</script>