JQuery text changes trigger events such as focus events out of focus events


Event focus in Juery:


$("#id").focus(function(){
});

Out-of-focus event:


$("#id").blur(function(){
});

But text changing events don’t say:


$("#id").change(function(){
});

The text change event can be written like this,propertychange is the event that fires when a property changes


$("#id").bind("propertychange",function() {
});