> For the complete documentation index, see [llms.txt](https://aeudoc.gitbook.io/developer/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://aeudoc.gitbook.io/developer/presentation/client-script/close-modal.md).

# Close Modal

## Syntax

```
$.closeModal = function (vname)
```

## Arguments

| <p><em>vname</em></p><p> </p> | String | Name of the view of the modal that should be closed |   |
| ----------------------------- | ------ | --------------------------------------------------- | - |

## Description

Closes the modal belonging to the View file as specified in the parameter “vname”.

## Example

The following program illustrates the function call:

```
$.closeModal("ExampleModal");
```

Function will close modal belonging to the View file “ExampleModal.cshtml”.
