jQuery’s pop-up box is very convenient to use, but if it is used in an iframe, the dialog box will not pop up. Sometimes we have to use an iframe instead of jQuery’s load method. At this time, we need to deal with this problem.
In fact, it is very simple. The idea is to let the parent window of the iframe pop up this dialog box. For example:
parent.confirmDialog();
This will work. It's not a technical question, just write it down to prevent forgetting.