【问题标题】:How to Validate html5 forms in html5 unsupported browsers [closed]如何在 html5 不受支持的浏览器中验证 html5 表单 [关闭]
【发布时间】:2015-03-23 03:40:01
【问题描述】:

我正在使用 asp.net 和 c# 开发 erp 解决方案,我在前端开发团队中。我添加了使用 html 5 验证方法而不是 asp 验证器控件的表单验证。但问题是它不支持 html 5 不支持的浏览器,有没有办法解决这个问题?

示例字段::

 <input type="text" required />

【问题讨论】:

  • 大家好,这个问题非常具体,不应该结束。

标签: jquery html validation required


【解决方案1】:

Webshim 有一个非常棒的 HTML 5 表单验证 polyfill。

http://afarkas.github.io/webshim/demos/

requiredpattern 的属性开箱即用。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2023-03-21
    • 1970-01-01
    • 2011-02-10
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多