I have a page that is opened in iframe, that page has a modal/popup in it. I want to access the parent page (opened in iframe) values, in modal using jquery or javascript. any ideas how could I do that?
I have tried it using window.parent.document but it takes me to the index page, while I want to remain inside the body of page opened in iframe. And window.parent.$('#someId:checked') gives me [prevObject: r.fn.init(1)].