Document.queryCommandState()

Syntax

queryCommandState(String command)

Example

TBD

Specifications

Specification Status Comment
HTML Editing APIs
The definition of 'execCommand' in that specification.
Editor's Draft Initial definition

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support Yes Yes Yes Yes Yes Yes
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support Yes Yes Yes Yes Yes Yes ?

See also

Document Tags and Contributors

Last updated by: fscholz,