This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Will I be able to access elements of an iFrame in parent page or in other iFrame?
I heard that browsers prevent this due to some security reasons. I also don't get alert(document.aFrame.document) when aFrame iFrame contains say google.com or javaranch.com but I get an [object] in alert when aFrame contains f2.html (a page in same domain).
What if I include a sub domain page in an iFrame which is in a page of parent domain e.g. myDomain.com has a page contains iFrame and this iFrame refers a page of something.myDomain.com (sub domain of myDomain.com)? Will I be able to access each others elements?
My main problem is I don't know how do i simulate this sub domain situation. I don't own any domain. Is it possible to do it locally?
DO you have firebug? Use the console or the address bar to inject an iframe into the page with createElement and appendChild. This way you can add an iframe into the page with a site that has subdomains.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com