jquery validator plugin with display:none form elements

前端 未结 5 1475
囚心锁ツ
囚心锁ツ 2020-12-15 17:01

I\'m using the validator plugin found here to validate a form.

Problem I\'m having is if I put the following around a form input element the validation fails:

<
5条回答
  •  攒了一身酷
    2020-12-15 18:06

    Have you tried adding the style attribute to the input element? So instead of wrapping it with a div, try:

    
    

提交回复
热议问题