Jquery alert on mouse hover or mouse out

  $('button').mouseover(function() {
    alert("mouseover");
  });  
   $('button').mouseout(function() {
    alert("mouseover");
  });