Javascript Reference
Objects > COMMENT
javascript COMMENT Description
The comment object reflects the ! element in an HTML document. This object is not a genuine element in the context of the W3C DOM abstract model.
javascript COMMENT data
Provides the text content of the comment. See Text.data .
javascript COMMENT length
Provides the character count of the comment data. See Text.length .
javascript COMMENT text
Provides the text content of the element. Due to the nature of this element, the value of the text property is identical to the values of the inner
javascript COMMENT appendData( ), deleteData( ), insertData( ), replaceData( ), substringData( )
Provide methods for manipulating comment text. See these methods in the Text object.

Powered by Linode.