如何清除剑道数字文本框的值?

omi*_*mid 4 kendonumerictextbox

我已经这样做了,但它不起作用

$("#txtLowValue").val('');
$("#txtLowValue").val();
Run Code Online (Sandbox Code Playgroud)

这是文本框

$('#txtLowValue').kendoNumericTextBox({
    format: "##",
    decimals: 0,
    spinners: false,
    min: 0,
    max: 999998
});
Run Code Online (Sandbox Code Playgroud)

Dav*_*ose 9

这里有一个简单的例子供您测试。

http://dojo.telerik.com/IQaSE

重要的一点是:

$('#txtLowValue').data("kendoNumericTextBox").value(null);
Run Code Online (Sandbox Code Playgroud)

这是 api 文档的链接:value