Setting Up Multiple Event Responses using named functions

Setting Up Multiple Event Responses using named functions

I am trying to change this :

 
$( "p" ).on({
"click": function() { console.log( "clicked!" ); },
"mouseover": function() { console.log( "hovered!" ); }
});
To look like this:

     
$( "p" ).on({
"click": fnOne(); },
"mouseover": fnTwo(); }
});

function fnOne(){ alert("click"); } function fnTwo(){ alert("click"); } But it does not work. How can I make it work?What would be the right way to do this?