javascript onkeyup multiples classes

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