ddyy

html 的 checkbox 有部分选择状态?

  •  
  •   ddyy · May 13, 2014 · 4091 views
    This topic created in 4566 days ago, the information mentioned may be changed or developed.
    刚在phpmyadmin看到的,震惊了
    7 replies  •  2014-05-13 17:37:38 +08:00
    lingyired
    lingyired
    May 13, 2014
    1
    js + icon
    sneezry
    sneezry
    May 13, 2014❤️1
    2
    有,checkbox的indeterminate属性
    rannnn
    rannnn
    May 13, 2014 via iPhone❤️2
    3
    @lingyired checkbox.indeterminate = true
    ddyy
    ddyy
    OP
    May 13, 2014
    5
    今天彻底震惊了,接触html满打满算11年了,今天刚发现这个特性
    lingyired
    lingyired
    May 13, 2014
    6
    @rannnn thanks
    chemzqm
    chemzqm
    May 13, 2014❤️1
    7
    The :indeterminate CSS pseudo-class represents any <input type="checkbox"> element whose indeterminate DOM property is set to true by JavaScript. In addition, in some browsers, it can be used to match to <progress> elements in an indeterminate state

    ie要10才支持,不过不支持也没啥影响
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4894 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 47ms · UTC 03:05 · PVG 11:05 · LAX 19:05 · JFK 22:05
    ♥ Do have faith in what you're doing.