javascript - How to open iframe popup in parent window -


is there way open popup (which in iframe) in parent window (the iframe , parent in diferent domains) using js/jquery

the browser security checks enforce couple of interactions iframes different origin/domain host page blocked.

to unblock, need use sandbox attribute on iframe value "allow-popups" relax restrictions.

there other possible values can set see here: https://developer.mozilla.org/en/docs/web/html/element/iframe

be careful values set here except trust iframe domain.


Comments

Popular posts from this blog

How to use SUM() in MySQL for calculated values -

ios - IBOutlet for image button not correctly referencing button after recreating outlet -

java - AEM: 403 Forbidden occurs when call a Post servlet -