jquery Programming Glossary: editframe
Getting the html content of an iframe using jQuery http://stackoverflow.com/questions/8814411/getting-the-html-content-of-an-iframe-using-jquery of the iframe however always getting null as a return. This is how I try to fetch the html content from the iframe var editFrame document.getElementById 'ta_OpenCmsHtml.LargeNews_1_.Teaser_1_.0___Frame' alert editFrame .attr 'id' returns the correct.. content from the iframe var editFrame document.getElementById 'ta_OpenCmsHtml.LargeNews_1_.Teaser_1_.0___Frame' alert editFrame .attr 'id' returns the correct id alert editFrame .contents .html returns null Looking at the screenshot the what I want.. 'ta_OpenCmsHtml.LargeNews_1_.Teaser_1_.0___Frame' alert editFrame .attr 'id' returns the correct id alert editFrame .contents .html returns null Looking at the screenshot the what I want to access is the 'LargeNews1 Teaser' html section..
|