Mar 10, 2014, 8:53 PM
Get current iFrame's location
Hi there, I would like to know if it possible to retrieve the current iFrame's Url location using an Ext.Panel. Suppose you have a web application and you load inside an Ext.NET Panel an external web site. This external website is loaded in iFrame mode. You know the Panel's loader's Url (since you set it by loader.Url property) but what if the user navigates through this iframe in other urls? For example let's say that you set loader.Url = http://www.samplesite.com. Then the user inside this external website in iframe mode, clicks a link and navigates to http://www.samplesite.com/products. Is it possible to retrieve the http://www.samplesite.com/products value of the cross-domain iframe? I have heard of the ManagedIframe class of ExtJS but Im not sure if that's the answer.
Many thanks.
Many thanks.