COMMENT.text (Property)

The text within a comment block.


JScript - 3.0
Internet Explorer version - 4.0
Property/method value type:String primitive
JavaScript syntax:IEmyCOMMENT.text

This is the internal text within the comment block. The DOM standard treats comment blocks as character data to standardize the access to their content, but you should not expect to be able to access the internal text of a comment for any functional purpose.