HTMLOptGroupElement

HTMLOptGroupElement 接口可提供特殊属性和方法 (除了常见的对象 HTMLElement 接口提供的属性和方法通过继承也能获取到)操纵 <optgroup> 元素的演示和布局。

 

HTMLOptGroupElement()

继承层次

Object.prototype
 Function.prototype
  EventTarget
   Node
    Element
     HTMLElement
      HTMLOptGroupElement

构造函数

程序不能直接调用该构造函数,否则将会产生异常。

属性列表

属性说明
--

方法列表

语法说明
--

HTMLOptGroupElement.prototype

继承层次

Object.prototype
 EventTarget.prototype
  Node.prototype
   Element.prototype
    HTMLElement.prototype
     HTMLOptGroupElement.prototype

属性列表

继承自父对象 HTMLElement 属性。

属性说明
disabled是一个布尔表示,子选项 <option> 整个列表是否禁用 (true) 或不 (false)。
labelDOMString 代表组的标签。

方法列表

继承自父对象 HTMLElement 方法。

语法说明
--

HTMLOptGroupElement实例

参考

相关页面

外部链接