---
title: queryCommandValue
framework: WebKit JS
role: symbol
role_heading: Instance Method
platforms: [Safari Desktop 3.0+, Safari Mobile 1.0+]
path: webkitjs/document/1634156-querycommandvalue
---

# queryCommandValue

## Declaration

```data
DOMString queryCommandValue(
    DOMString command
);
```
