$(function () {
$('.userBox').on('DOMAttrModified textInput input keypress paste focus', function (e) {
$(this).val($(this).val().slice(0, 1).toUpperCase() + $(this).val().slice(1));
});
});
one
is for handlers you want executed at most once