HBCMS更多的中文手册参考:

queryCommandValue Method

DHTML文档教程

Returns the current value of the document, range, or current selection for the given command.

dhtml语法

vCmdValue = object.queryCommandValue(sCmdID)

Parameters

sCmdID Required. Stringthat specifies a command identifier.

Return Value

Variant that returns the command value for the document, range, or current selection, if supported. Possible values depend on sCmdID . If not supported, this method returns a Boolean set to false.

是否符合公共标准

There is no public standard that applies to this method.

Applies To

document, controlRange, TextRange

更多语法参考

execcommand, querycommandenabled, querycommandindeterm, querycommandstate, queryCommandSupported