I have a html table which is as follows
col1 c 7条回答 粉色の甜心 (楼主) 2021-01-26 18:54 this is a jquery solution. it checks if there is only a whitespace in there... if yes, it hides it. $('td').each(function(){ if($(this).html() == " ") $(this).hide(); }); 0 讨论(0) 查看其它7个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
this is a jquery solution. it checks if there is only a whitespace in there... if yes, it hides it.
$('td').each(function(){ if($(this).html() == " ") $(this).hide(); });