I have some div\'s that maybe be empty (depending on server-side logic).
10条回答 猫巷女王i (楼主) 2020-12-03 08:24 Do you have access to server logic? Else client side you could do something like: $(function() { $('div').each(function() { if ($(this).html()=="") { $(this).hide(); } }); }); 0 讨论(0) 查看其它10个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
Do you have access to server logic?
Else client side you could do something like:
$(function() { $('div').each(function() { if ($(this).html()=="") { $(this).hide(); } }); });