@mozilla.org/content/element/html;1?name=option

This component implements the following interfaces:

Constants

PRUint16 nsIDOM3Node.DOCUMENT_POSITION_DISCONNECTED = 1
PRUint16 nsIDOM3Node.DOCUMENT_POSITION_PRECEDING = 2
PRUint16 nsIDOM3Node.DOCUMENT_POSITION_FOLLOWING = 4
PRUint16 nsIDOM3Node.DOCUMENT_POSITION_CONTAINS = 8
PRUint16 nsIDOM3Node.DOCUMENT_POSITION_CONTAINED_BY = 16
PRUint16 nsIDOM3Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 32
The nsIDOMNode interface is the primary datatype for the entire Document Object Model. It represents a single node in the document tree.

For more information on this interface please see http://www.w3.org/TR/DOM-Level-2-Core/

PRUint16 nsIDOMNode.ELEMENT_NODE = 1
PRUint16 nsIDOMNode.ATTRIBUTE_NODE = 2
PRUint16 nsIDOMNode.TEXT_NODE = 3
PRUint16 nsIDOMNode.CDATA_SECTION_NODE = 4
PRUint16 nsIDOMNode.ENTITY_REFERENCE_NODE = 5
PRUint16 nsIDOMNode.ENTITY_NODE = 6
PRUint16 nsIDOMNode.PROCESSING_INSTRUCTION_NODE = 7
PRUint16 nsIDOMNode.COMMENT_NODE = 8
PRUint16 nsIDOMNode.DOCUMENT_NODE = 9
PRUint16 nsIDOMNode.DOCUMENT_TYPE_NODE = 10
PRUint16 nsIDOMNode.DOCUMENT_FRAGMENT_NODE = 11
PRUint16 nsIDOMNode.NOTATION_NODE = 12

Properties

readonly nsIDOMNamedNodeMap nsIDOMNode.attributes

readonly DOMString nsIDOM3Node.baseURI

readonly nsIDOMNodeList nsIDOMNode.childNodes

DOMString nsIDOMHTMLElement.className

DOMString nsIDOMHTMLElement.dir

readonly nsIDOMNode nsIDOMNode.firstChild

DOMString nsIDOMHTMLElement.id

The nsIDOMHTMLElement interface is the primary [X]HTML element interface. It represents a single [X]HTML element in the document tree.

For more information on this interface please see http://www.w3.org/TR/DOM-Level-2-HTML/

DOMString nsIDOMHTMLElement.lang

readonly nsIDOMNode nsIDOMNode.lastChild

readonly DOMString nsIDOMNode.localName

readonly DOMString nsIDOMNode.namespaceURI

readonly nsIDOMNode nsIDOMNode.nextSibling

readonly DOMString nsIDOMNode.nodeName

readonly PRUint16 nsIDOMNode.nodeType

DOMString nsIDOMNode.nodeValue

readonly nsIDOMDocument nsIDOMNode.ownerDocument

readonly nsIDOMNode nsIDOMNode.parentNode

DOMString nsIDOMNode.prefix

readonly nsIDOMNode nsIDOMNode.previousSibling

readonly nsIDOMCSSStyleDeclaration nsIDOMElementCSSInlineStyle.style

readonly DOMString nsIDOMElement.tagName

The nsIDOMElement interface represents an element in an HTML or XML document.

For more information on this interface please see http://www.w3.org/TR/DOM-Level-2-Core/

DOMString nsIDOM3Node.textContent

DOMString nsIDOMHTMLElement.title

Methods

InterfaceMethod
nsIDOM3EventTarget void addGroupedEventListener ( DOMString type , nsIDOMEventListener listener , PRBool useCapture , nsIDOMEventGroup evtGroup )
nsIDOMNode nsIDOMNode appendChild ( nsIDOMNode newChild )
nsIDOM3EventTarget PRBool canTrigger ( DOMString type )
nsIDOMNode nsIDOMNode cloneNode ( PRBool deep )
nsIDOM3Node PRUint16 compareDocumentPosition ( nsIDOMNode other )
nsIDOMElement DOMString getAttribute ( DOMString name )
nsIDOMElement nsIDOMAttr getAttributeNode ( DOMString name )
nsIDOMElement nsIDOMAttr getAttributeNodeNS ( DOMString namespaceURI , DOMString localName )
nsIDOMElement DOMString getAttributeNS ( DOMString namespaceURI , DOMString localName )
nsIDOMElement nsIDOMNodeList getElementsByTagName ( DOMString name )
nsIDOMElement nsIDOMNodeList getElementsByTagNameNS ( DOMString namespaceURI , DOMString localName )
nsIDOM3Node nsISupports getFeature ( DOMString feature , DOMString version )
nsIDOM3Node nsIVariant getUserData ( DOMString key )
nsIDOMElement PRBool hasAttribute ( DOMString name )
nsIDOMElement PRBool hasAttributeNS ( DOMString namespaceURI , DOMString localName )
nsIDOMNode PRBool hasAttributes ( )
nsIDOMNode PRBool hasChildNodes ( )
nsIDOMNode nsIDOMNode insertBefore ( nsIDOMNode newChild , nsIDOMNode refChild )
nsIDOM3Node PRBool isDefaultNamespace ( DOMString namespaceURI )
nsIDOM3Node PRBool isEqualNode ( nsIDOMNode arg )
nsIDOM3EventTarget PRBool isRegisteredHere ( DOMString type )
nsIDOM3Node PRBool isSameNode ( nsIDOMNode other )
nsIDOMNode PRBool isSupported ( DOMString feature , DOMString version )
nsIDOM3Node DOMString lookupNamespaceURI ( DOMString prefix )
nsIDOM3Node DOMString lookupPrefix ( DOMString namespaceURI )
nsIDOMNode void normalize ( )
nsIDOMElement void removeAttribute ( DOMString name )
nsIDOMElement nsIDOMAttr removeAttributeNode ( nsIDOMAttr oldAttr )
nsIDOMElement void removeAttributeNS ( DOMString namespaceURI , DOMString localName )
nsIDOMNode nsIDOMNode removeChild ( nsIDOMNode oldChild )
nsIDOM3EventTarget void removeGroupedEventListener ( DOMString type , nsIDOMEventListener listener , PRBool useCapture , nsIDOMEventGroup evtGroup )
nsIDOMNode nsIDOMNode replaceChild ( nsIDOMNode newChild , nsIDOMNode oldChild )
nsIDOMElement void setAttribute ( DOMString name , DOMString value )
nsIDOMElement nsIDOMAttr setAttributeNode ( nsIDOMAttr newAttr )
nsIDOMElement nsIDOMAttr setAttributeNodeNS ( nsIDOMAttr newAttr )
nsIDOMElement void setAttributeNS ( DOMString namespaceURI , DOMString qualifiedName , DOMString value )
nsIDOM3Node nsIVariant setUserData ( DOMString key , nsIVariant data , nsIDOMUserDataHandler handler )

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com