or
update: {
url: function (employee) {
return "api/employees/" + employee.Id
},
type: "POST"
},
destroy: {
url: function (employee) {
return "api/employees/" + employee.Id
},
type: "DELETE"
}
-------------------------------------------------
(on FIREFOX )
I got This ERROR >>> TypeError : g is undefined at kendo.web.min.js : 8 What is the Solution? Help Me Please...
<
script
id
=
"treeview-checkbox-template"
type
=
"text/kendo-ui-template"
>
<
input
type
=
"checkbox"
name
=
"checkedFiles[#= item.id #]"
value
=
"#= item.id #"
/>
</
script
>
2. You can access the value as follows... function showSerializedData() {
var chkBox = $("#treeview input")
var serializedData = chkBox.serialize()
.replace(/%5B/g, "[")
.replace(/%5D/g, "]")
.replace(/&/g, "&");
//get the value...
var value = chkBox.val();
//do something with it
$("#checked-nodes").html(serializedData);
}
function onSelect(e) {
var checkboxes = $(e.node).find(":checkbox");
if(checkboxes.length > 0)
$(checkboxes[0]).prop('checked','checked')
//HINT: you can get the node text this way as well
var nodeText = e.node.outerText;
}