$('.requireds').each(function(index, element) {
if(!$(this).val()=='') {
console.log('筛选5',index)
layer.msg("带星号的不能为空,请填写完整提交~");
}
});
js判断多个class的标签是否为空
最新推荐文章于 2023-03-10 17:10:02 发布