$("document").ready(function(){ $("#lesson").on("input", function(){alert("one");}).on("propertychange", function(){alert("two");}); });
<input id="lesson" type="text" value="1234"/>