We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 9 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
您可以修改 jQuery 验证插件。
由 Microsoft 托管。
alert()
可能对屏幕阅读器有用(引用?),但对其他人来说却令人沮丧。还有人同意吗?You can modify the jQuery validation plugin.
Hosted by Microsoft.
alert()
may be useful for screen readers (citation?) but they are frustrating for everyone else. Anyone else agree?大多数验证插件都会将问题摘要写到页面上。你可以在插件中做一个简单的代码更改,只做一个alert(),而不是jquery使用.html()编写它。mod
不应该太痛苦,并且一些小事情可以让修改插件变得有趣。
Most of the validations plugins write out a summary of the issues onto the page. You could do a simple code change in the plugin to just do an alert() versus jquery writing it using .html()
Shouldn't be too painful of a mod, and something small to have some fun modifying a plugin.