Method that gets a non last column td value and sets the title to that value

  • 2020-03-26 21:47:26
  • OfStack

 
$(function() { 
$('table tr td:not(:last-child)').mouseover(function() { 
val = $(this).text().trim(); 
$(this).attr({title:val}); 
}) 
}); 

Related articles: