简体   繁体   English

jquery 验证插件 textarea

[英]jquery validation plugin textarea

Using the jquery validation plugin in the event of a textarea failing validation - required - it is not being highlighted.在 textarea 验证失败的情况下使用jquery 验证插件- 必需 - 它没有被突出显示。 Looking for suggestions on how to make this happen.寻找有关如何实现这一目标的建议。

in the CSS for the plugin, there's only:在插件的 CSS 中,只有:

input.error { border: 1px dotted red; }

it should be它应该是

input.error, textarea.error { border: 1px dotted red; }

The problem actually happens in the Demo website for the plugin.问题实际上发生在插件的演示网站上。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM