jquery validate 弹窗提示错误怎么弄?

2025-04-27 12:27:31
推荐回答(2个)
回答1:

这个插件有一个errorPlacement方法,你这样写:
errorPlacement: function (error, element) {
alert(error.html());
}
就行了

回答2:

$(":selected").function(){
if(this.value="")
alert("你的丫的没选啊!!!");
}