---
title: Window.dialogArguments
slug: Web/API/Window/dialogArguments
tags:
  - API
  - Deprecated
  - HTML DOM
  - NeedsExample
  - NeedsMarkupWork
  - NeedsSpecTable
  - Property
  - Reference
  - Window
browser-compat: api.Window.dialogArguments
---
{{Deprecated_Header}}{{APIRef}}

The `dialogArguments` property returns the
parameters that were passed into the {{domxref("window.showModalDialog()")}}
method.

This lets you determine what parameters were specified when the modal
dialog was created.

## Syntax

```js
value = window.dialogArguments;
```

## Browser compatibility

{{Compat}}
