is there a way to get window.self of an unknown iframe (same domain) with the only reference: an object within the iframe (a div). holding thumbs for this one
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
element.ownerDocument.defaultViewin Firefox.element.ownerDocument.parentWindowin IE.But Webkit (Safari) apparently doesn’t support either of those things, so to get your page to work in Safari, you have to use this amazing hack.