table表格文字过长隐藏显示后统一增加title 晋403 2021-10-09 116 阅读1分钟 table表格文字过长隐藏显示后统一增加title $('body').mouseover(function(){ var cell=$(this).find('td'); $(cell).each(function(){ $(this).attr('title', $(this).text()); }); })