jQuery multiple events like keyup, keypress, blur, change, focusout, etc call in one line

You can use .on() to bind a function to multiple events:

 $('#element').on('keyup keypress blur change', function() {  
   ...  
 });  

Comments