New to Kendo UI for jQueryStart a free 30-day trial

Value

methods

Gets or sets the value of the NumericTextBox.

Important: This method does not trigger the focusout event of the input.

This can affect the floating label functionality. To overcome this behavior, manually invoke the refresh method of the Floating Label: $("#numerictextbox").data("kendoNumericTextBox").floatingLabel.refresh();

Parameters:valueNumber | String

The value to set.

Returns:Number

The value of the widget.

<input id="numerictextbox" />
<script>
$("#numerictextbox").kendoNumericTextBox();

var numerictextbox = $("#numerictextbox").data("kendoNumericTextBox");

var value = numerictextbox.value();

/* The result can be observed in the DevTools(F12) console of the browser. */
console.log(value);
</script>
<input id="numerictextbox" />
<script>
$("#numerictextbox").kendoNumericTextBox();

var numerictextbox = $("#numerictextbox").data("kendoNumericTextBox");

var value = numerictextbox.value();

numerictextbox.value(0.5);
</script>
Not finding the help you need?
Contact Support