jQuery Validation - Hide Error Message

后端 未结 10 1693
醉梦人生
醉梦人生 2021-02-05 03:39

I\'m using the jQuery Validation plugin and want to disable the or element/container it creates to display the error \'message\'.

Basically, I want the input element wi

10条回答
  •  北恋
    北恋 (楼主)
    2021-02-05 03:52

    Easiest solution with only CSS:

    label.valid {
       display: none;
    }
    

提交回复
热议问题