V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
582033
V2EX  ›  问与答

有什么办法让IE10以下支持required属性么?

  •  
  •   582033 · 2013-09-10 10:10:31 +08:00 · 2255 次点击
    这是一个创建于 3907 天前的主题,其中的信息可能已经有所发展或是发生改变。
    如题,js之类的也可以.
    6 条回复    1970-01-01 08:00:00 +08:00
    yimity
        1
    yimity  
       2013-09-10 10:54:24 +08:00
    自己写 js 用 value 来模拟。
    luikore
        2
    luikore  
       2013-09-10 13:40:44 +08:00
    h5validate
    582033
        3
    582033  
    OP
       2013-09-10 15:47:03 +08:00
    @luikore 是我打开方法有问题么,怎么不太好使呢在IE6 7 8 9下.

    http://582033.vicp.net/other/h5validate.html
    luikore
        4
    luikore  
       2013-09-10 16:57:36 +08:00
    你这个我没用过... 我说的是 http://ericleads.com/h5validate/
    luikore
        5
    luikore  
       2013-09-10 17:01:17 +08:00
    或者更流行点的,这个 http://jqueryvalidation.org/
    582033
        6
    582033  
    OP
       2013-09-10 17:34:56 +08:00
    @luikore THX,试了好几个总有些问题.再试试你这个.
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   4422 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 09:47 · PVG 17:47 · LAX 02:47 · JFK 05:47
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.