jQuery Validation - Hide Error Message

后端 未结 10 1661
醉梦人生
醉梦人生 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:51

    I also wanted to hide the error messages and to turn my input fields and textarea red, on error. Here's a small example :

    http://jsfiddle.net/MFRYm/51/

    and fully working code in case jsfiddle breaks ;)

    
    
    
      
       Demo
    
          
    
          
    
    
      
    
    
    
    
    
    
    
    Type invalid email and press Tab key

提交回复
热议问题