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

  • 2020-03-30 01:21:22
  • OfStack

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() { 
}); 

Related articles: