為什么彈出框只能彈一次,刷新再能彈下一次if($("#" + i).val()==""||$("#" + i).val()==null||$("#" + i).val()==undefined){// alert(stus[i]+'不能為空');var _this = stus[i]+'不能為空';var str='';// console.log(_this);var this_sec = 3000;if (_this){str+="<p>"+_this+"</p>";$('.toast').append(str);$('.toast').fadeIn();}setTimeout(function () {
$('.toast').fadeOut(function () {
$(this).remove();
});
_this = '';
},1000);
}
- 2 回答
- 0 關(guān)注
- 795 瀏覽
添加回答
舉報(bào)
0/150
提交
取消