Re: [jQuery] How to insert HTML in an iframe

2010-01-20 Thread Jimmy Brodd
This should do the trick:

$('#iframeId').contents().find('body').append('stuff');

On Tue, Jan 19, 2010 at 10:31 PM, pablo pablo00...@hotmail.com wrote:

 Hi,

 I need to insert HTML in an iframe. This works in IE but not in
 Firefox:

 $(this.iframe).append(phello/p);

 What is the problem in Firefox?

 Thank you very much.



[jQuery] How to insert HTML in an iframe

2010-01-19 Thread pablo
Hi,

I need to insert HTML in an iframe. This works in IE but not in
Firefox:

$(this.iframe).append(phello/p);

What is the problem in Firefox?

Thank you very much.