我们在使用Windows XP的文件夹属性对话框时,会发现文件夹的Attributes分类里的Read-only和Hidden选项有时不是完全的checked或unchecked状态,而常常是一种虽然已被打勾但背景又是灰色的状态。其实这种不确定的CheckBox状态Web中也是可以表现的。 

    在Web页面中,我们可以使用<input >
使用CheckBox的indeterminate属性的问题chkb.checked = true; 或 chkb.checked = false;

相关文章:

  • 2022-12-23
  • 2021-06-29
  • 2021-06-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-07
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-01-05
  • 2022-12-23
  • 2021-05-02
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案