javascript - Event listener from parent window to 2 levels nested iframe possible? -


green box web app / orange box iframe app / red box 3rd party web app through iframe

i have form on web page (green box) supposed submit data on backend system. have web app (orange box) have control of in terms of source code, contains third party form through iframe (red box). red box form submit button.

the request on submitting form in red box, submit form in green box. have accomplished through event listener postmessage transferring neccessary data red box green. problem want prevent red box submission, if fields in green box empty. thought apply overlay div transparent on top of red box removed on filling green boxes, m not happy idea. handled through javascript? have control of green , orange window / documents not red

what looking sandboxed iframe. more details follow link: http://www.html5rocks.com/en/tutorials/security/sandboxed-iframes/


Comments

Popular posts from this blog

shopping cart - Page redirect not working PHP -

php - How to modify a menu to show sub-menus -

python - Installing PyDev in eclipse is failed -