Edit this page

spin

Fires when the value is changed from the spin buttons

Event Data

e.sender kendo.ui.NumericTextBox

The widget instance which fired the event.

Example - subscribe to the "spin" event during initialization

<input id="numerictextbox" />
<script>
$("#numerictextbox").kendoNumericTextBox({
    spin: function() {
        var value = this.value();
        console.log(value); //value is the selected date in the numerictextbox
    }
});
</script>

Example - subscribe to the "spin" event after initialization

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

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

numerictextbox.bind("spin", function() {
    var value = this.value();
    console.log(value); //value is the selected date in the numerictextbox
});
</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