New to Kendo UI for jQuery? Download free 30-day trial

Change Text Color

The following example demonstrates how to change the color of a NumericTextBox value.

<input id="numeric" value="10" />
$(function() {
    var widget = $("#numeric").kendoNumericTextBox().data("kendoNumericTextBox");

    //find the wrapper of the widget
    //get all input elements, as the widget creates two - for formatted value and real value
    //set text color

    widget.wrapper.find("input").css("color", "red");

See Also

For more runnable examples on the Kendo UI NumericTextBox, browse its How To documentation folder.

In this article
Not finding the help you need? Improve this article