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 wrote: > Hi, > > I need to insert HTML in an iframe. This works in IE but not in > Firefox: > > $(this.iframe).append("hello"); > > What is the problem in Firefox? > > Thank

[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("hello"); What is the problem in Firefox? Thank you very much.