Close Modal

Syntax

$.closeModal = function (vname)

Arguments

vname

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”.

Last updated