//文字溢出
$(function(){
	$(".d_dt a").each(function(){
		var maxwidth =100;
		if($(this).text().length>maxwidth){
			$(this).text($(this).text().substring(0,maxwidth));
			$(this).html($(this).html()+'...');
		}
	})
})

 

相关文章:

  • 2022-12-23
  • 2021-12-12
  • 2022-12-23
  • 2022-01-07
  • 2021-09-25
  • 2022-12-23
  • 2021-08-15
  • 2022-02-02
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-27
  • 2022-12-23
相关资源
相似解决方案