You need to assign the on handler against an ancestor element, for example the document element. Then you can specify the exact selector for the element to listen for as the second parameter:
$(document).on('change', '.check-input', function () {
$(this).next().text('Error');
});
This basically means: Listen for the change event for all .check-input elements that are descendants of the document element.
Here is a working example