Focus event in Juery:
$("#id") .focus(function(){
});
Out of focus event:
$("#id").blur(function(){
});
But the text change event cannot be like this Write:
$("#id").change( function(){
});
The text change event can be written like this, propertychange is an event triggered when the property changes
$("#id").bind("propertychange",function() {
});