// configuration
$("#txtNetWorth").kendoNumericTextBox(
{ min: 0, max: 999999999999,
decimals: 0, format: 'c0',
spinners: false
});
// highlight the value
$(function () {
$("input").kendoNumericTextBox();
//wire focus of all numerictextbox widgets on the page
$("input[type=text]").on("focus", function () {
var input = $(this);
// clear all of the time
clearTimeout(input.data("selectTimeId")); //stop started time out if any
// returned timeoutID is a numeric, non-zero value
// which identifies the timer created by the call to setTimeout();
var selectTimeId = setTimeout(function() {
// select the text
input.select();
});
// store the timeoutID to a data attribute.
input.data("selectTimeId", selectTimeId);
// clean time out
//stop started timeout when lose focus
}).blur(function(e) {
clearTimeout($(this).data("selectTimeId"));
});
})