www.fgks.org   »   [go: up one dir, main page]

Skip Navigation Links
  

Microsoft Developer Network

Click to Rate and Give Feedback
Methods
 createComment Method
createComment Method

Creates a comment object with the specified data.

Syntax

oComment = document.createComment(sData)

Parameters

sData Required. A String that sets the comment object's data.

Return Value

Returns a reference to the new comment object.

Remarks

createComment was introduced in Microsoft Internet Explorer 6.

Standards Information

This method is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 World Wide Web link.

Applies To

document
Tags What's this?: Add a tag
Community Content
 
Add Community Content
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker
DCSIMG