jQuery Validation: How to not display errors? OR How to display errors as a tooltip?

前端 未结 2 1663
庸人自扰
庸人自扰 2021-01-31 00:47

I want my errors to float above, left-justified, the input field that doesn\'t validate. How can I do this?

If I can\'t, how can I turn the errors off? I still want th

2条回答
  •  离开以前
    2021-01-31 01:17

    You want the errorPlacement option, and perhaps errorContainer and errorElement for further customization.

    See http://docs.jquery.com/Plugins/Validation/validate#toptions

提交回复
热议问题