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();

/* The result can be observed in the DevTools(F12) console of the browser. */
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