max

Gets or sets the max value of the widget.

Parameters

value Number | String

The max value to set.

Returns

Number The max value of the widget.

Example - get the max value of the NumericTextBox

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

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

var max = numerictextbox.max();

console.log(max);
</script>

Example - set the max value of the NumericTextBox

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

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

var max = numerictextbox.max();

numerictextbox.max(10);
</script>
In this article
Not finding the help you need? Improve this article