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?