Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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
});
like image 404
omid Avatar asked Jan 06 '23 06:01

omid


1 Answers

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

like image 85
David Shorthose Avatar answered Mar 06 '23 04:03

David Shorthose