$(document).ready(function(){
  $('table tr').hover(function(){
      $(this).css("background-color","#f2f4f8");
    },
    function(){
      $(this).css("background-color","#ffffff");
    });
  });