I had an iframe inside an iframe so this is what I had to use:
var details = $("#details___Frame").contents().find("body").find
("#xEditingArea iframe").contents().find("body").html();
Thank goodness for firebug!
On Feb 16, 6:42 pm, webdeveloperintex
I tried that and it did not work.
On Feb 16, 4:04 pm, brian wrote:
> Try $('#xEditingArea').contents().find('body').html()
>
> On Mon, Feb 16, 2009 at 3:31 PM, webdeveloperintexas
>
> wrote:
>
> > I'm attempting to get the contents of the pag
I'm attempting to get the contents of the page -- its HTML code.
Everything always returns null.
Here is what I tried:
var details = $('#xEditingArea').html();
alert("a"+details); -- returns null
var details = $('#xEditingArea iframe html body').htm
3 matches
Mail list logo