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
Post a Comment