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?