★ wanayoo — archive 1999 http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/queryCommandValue.aspNouvelle recherche | Portail wanayoo
MSDN Online Web Workshop   All Products  |   Support  |   Search  |   microsoft.com Home  
microsoft.com Home
  HOME  |   VOICES  |   LIBRARIES  |   COMMUNITY  |   DOWNLOADS  |   SITE GUIDE  |   SEARCH MSDN
 
Click to return to the DHTML, HTML & CSS home page  
queryCommandSupported Met...     recalc Method     DHTML Methods    
Web Workshop  |  DHTML, HTML & CSS

queryCommandValue Method


Returns the current value of the given command.

Syntax

vCmdValue = object.queryCommandValue(sCmdID)

Parameters

sCmdIDRequired. String that specifies a command identifier.

Return Value

String or Boolean. Returns a string representing the command value if the command is supported, or true/false otherwise.

Remarks

If the command returns a value, such as a color, rather than a true/false state, this command retrieves the current value of the document or range.

Applies To

document, controlRange, TextRange

See Also

execCommand, queryCommandEnabled, queryCommandIndeterm, queryCommandState, queryCommandSupported



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.