Not unless you proxy it on the server-side (you can have iframes
communicate across domains if you control the domains--that is you
have control of the code in the iframes and the parent--the latter
being an obscure, and almost pointless, cross-domain hack that
probably won't help in this case anyway).

On Mar 4, 8:55 am, Shedokan <shedo...@yahoo.com> wrote:
> not fair! :)
>
> ok thanks for the info, any other way to get it?
>
> On 4 מרץ, 18:43, mkmanning <michaell...@gmail.com> wrote:
>
> > You can't if it's on a different domain.
>
> > On Mar 4, 8:20 am, Shedokan <shedo...@yahoo.com> wrote:
>
> > > I have an iframe and I want to get it's title:
> > >         <div class="frame-cont" style="display:block;height:100%">
> > >                 <iframe src="http://google.com"; width="100%" height="100%"
> > > style="display:block" marginwidth="0" marginheight="0" hspace="0"
> > > vspace="0" frameborder="0"></iframe>
> > >         </div>
>
> > > but I can't seem to get it using these:
> > > $('iframe')[0].contentWindow.document;
> > > $('iframe').contents().find("body").html();
> > > $('.frame-cont iframe').contents()[0].document.title;
> > > $('.frame-cont iframe:first')[0].document.title;
>
> > > how can I get it's title?

Reply via email to