JavaScript onkeyup várias classes

$(document).on('keyup','.paid_amount , .discount',function() {
 alert('try this'); 
});
Farhan Bajwa