Search DaTutorials:  
HOME
DHTML Reference
Introduction
Reference

createComment Method


Creates a comment object with the specified data.

Syntax

oComment = document.createComment(sData)

Parameters

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

Return Value

Returns a reference to the new comment object.

Standards Information

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

Applies To

document

     Flights | Credit Cards | Loans | Loan | Unsecured Loans
Home     Link To Us     Ad With Us     Contact Us     Tell A Friend     Affiliates     Blog     MsOfficeHelp