$("button").bind("mouseover click", function(){ alert('Work'); } );
if (button==mouseover){alert('mouseover');} if (button==click){alert('click');}