O
O
Oldesign2019-05-16 11:05:35
JavaScript
Oldesign, 2019-05-16 11:05:35

Removing Ajax post after closing?

After closing the pop-up window with notification of successful submission - by clicking on the cross - only the message box is closed, but the DIV remains in place.

5cdd19c256b38739644663.jpeg

How to write in a Java script to close the main dim id="jGrowl" after clicking on the cross?

Now the code is like this:

close: function () {
        $.jGrowl('close');
    },

But it only closes the message window but not the entire div...
Screenshot (after clicking on the cross):
5cdd1a2a6316b717519594.jpeg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Kiryanov, 2019-05-16
@Dizzy221

$("#jGrowl").remove();

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question