Add Title Attribute
The following example demonstrates how to add a title
attribute to the input element of the NumericTextBox.
<input id="numerictextbox" value="10" title="this is the numerictextbox title"/>
<script>
$(function() {
var widget = $("#numerictextbox").kendoNumericTextBox().data("kendoNumericTextBox");
widget.wrapper
.find(".k-formatted-value")
.attr("title", widget.element.attr("title"));
});
</script>
See Also
- NumericTextBox JavaScript API Reference
- How to Change Text Color
- How to Persist Old Value
- How to Select All Text on Focus
- How to Use Custom Culture Script
For more runnable examples on the Kendo UI NumericTextBox, browse its How To documentation folder.