How to combine two possible selector events into a single statement?

I am try to combine the statements below so that it reads like “if either of these events happen, perform the function”. I know this is easy, but it’s something that I haven’t done and that I need to do.

Can you tweak this?

$  ("#FirstName").keyup(function() {
    checkForm();
});
$  ("#LastName").keyup(function() {
    checkForm();
});

newest questions tagged jquery – Stack Overflow

About Admin