Edit this page

value

Gets or sets the value of the NumericTextBox.

Parameters

value Number | String

The value to set.

Returns

Number The value of the widget.

Example - get the value of the NumericTextBox

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

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

var value = numerictextbox.value();

console.log(value);
</script>

Example - set the value of the NumericTextBox

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

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

var value = numerictextbox.value();

numerictextbox.value(0.5);
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy