Sorry if this is a really dumb question - I'm sure it will be something obvious - but why do I get an Uncaught TypeError when I do kendo.observable (and kendo.bind) in the code below?
Trying to follow the examples but falling at the first hurdle!
Many thanks!
Trying to follow the examples but falling at the first hurdle!
Many thanks!
<!DOCTYPE html>
<
html
>
<
head
>
<
title
>Test page</
title
>
<
script
src
=
"js/kendoui/jquery-1.7.1.js"
></
script
>
<
script
src
=
"js/kendoui/kendo.all.js"
></
script
></
head
>
<
body
>
<
span
data-bind
=
"text: name"
></
span
>
<
script
>
var viewModel = kendo.observable({
name: "John Doe"
});
kendo.bind($("span"), viewModel);
</
script
>
</
body
>
</
html
>