Name

queryCommandEnabled( ) — NN n/a IE 4 DOM n/a

Synopsis

queryCommandEnabled(”commandName“)

Whether the command can be invoked in light of the current state of the document or selection. Available only in the Win32 platform for IE 4.

Returned Value

Boolean value: true if enabled; false if not.

Parameters

commandName

A case-insensitive string value of the command name. See Appendix D.

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.