How to hide modal popup window in success method

Total Post:1

Points:7
C#
 349  View(s)
Ratings:
Rate this:

Hi,

I want to know, how to hide modal popup on success method in my javascript code.

Here is my code, please give me some idea:

if (response.success) {

           
        }
  1. Post:44

    Points:310
    Re: How to hide modal popup window in success method

    Hi LINNEA ELLERY,

    Please follow below line of code to achieved your task.

    if (response.success) {
    
                $('#modalDialogId').modal('hide');
            }

Answer