HBCMS更多的中文手册参考:

createComment Method

DHTML文档教程

Creates a comment object爓ith the specified data.

dhtml语法

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.

是否符合公共标准

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

Applies To

document