Home > Web Front-end > JS Tutorial > body text

Solution to the problem that jQuery cannot pop up the dialog box in iframe_jquery

WBOY
Release: 2016-05-16 17:04:13
Original
967 people have browsed it

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.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!