html 来自http://wiki.jikexueyuan.com/project/kendo-ui-development-tutorial/endo-mvvm-data-binding-enab

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了html 来自http://wiki.jikexueyuan.com/project/kendo-ui-development-tutorial/endo-mvvm-data-binding-enab相关的知识,希望对你有一定的参考价值。


<div id="view">
<input type="text" data-bind="value: name, disabled: isNameDisabled" />
<button data-bind="click: disableInput">Disable</button>
</div>
<script>
    var viewModel = kendo.observable({
        isNameDisabled: false,
        name: "John Doe",
        disableInput: function () {
            this.set("isNameDisabled", true);
        }
    });

    kendo.bind($("#view"), viewModel);
</script>

以上是关于html 来自http://wiki.jikexueyuan.com/project/kendo-ui-development-tutorial/endo-mvvm-data-binding-enab的主要内容,如果未能解决你的问题,请参考以下文章

来自数组的html输出逻辑

html JavaScript导入后备(来自HTML5 Boilerplate)

html JavaScript导入后备(来自HTML5 Boilerplate)

html JavaScript导入后备(来自HTML5 Boilerplate)

HTML 来自Google Code的HTML 5 shiv

html 来自JavaScript.html的il metodo fromCharCode()