jquery on two events code example
Example: jquery bind function to multiple events
$('#element').on('keyup keypress blur change', function(e) {
// e.type is the type of event fired
});
$('#element').on('keyup keypress blur change', function(e) {
// e.type is the type of event fired
});