how can i clear the value of the kendo numeric textbox?

omid picture omid · Apr 15, 2016 · Viewed 8.6k times · Source

I have done this and it's not working

$("#txtLowValue").val('');
$("#txtLowValue").val();

and this is the text box

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

Answer

David Shorthose picture David Shorthose · Apr 15, 2016

Here is a simple example for you to test.

http://dojo.telerik.com/IQaSE

The important bit is this:

$('#txtLowValue').data("kendoNumericTextBox").value(null);

here is a link to the api documentation: value