[JavaScript] jQuery检查元素是否为空 →→→→→进入此内容的聊天室

来自 , 2021-04-26, 写在 JavaScript, 查看 166 次.
URL http://www.code666.cn/view/ef0b9a69
  1. $('*').each(function() {
  2.          if ($(this).text() == "") {
  3.                    //Do Something
  4.          }
  5. });
  6.  
  7.  
  8.  

回复 "jQuery检查元素是否为空"

这儿你可以回复上面这条便签

captcha