Kendo UI grid popup edit custom template - calling function from input
checkbox - chrome issue
I'm using a custom edit popup template:
editable: { mode: "popup",
template: $("#popup_editor").html()
},
i have a checkbox that in the template that is not part of the grid fields:
<!-- popup editor template -->
<script id="popup_editor" type="text/x-kendo-template">
<input type="checkbox" name="MakeTemplate" onclick="checkMakeTemplate()"/>
</script>
the checkMakeTemplate() fires fine in ie but in Chrome it gives me a
"Uncaught ReferenceError: MakeTemplate is not defined"
Any help would be appreciated.
No comments:
Post a Comment