From:  Neil <neil@parkwaycc.co.uk>
Date:  18 May 2005 00:00:05 Hong Kong Time
Newsgroup:  news.mozilla.org/netscape.public.mozilla.editor
Subject:  

Re: GetHtml() and InsertHtml()

NNTP-Posting-Host:  parkwaycs-218.adsl.newnet.co.uk

Daniel Kirsch wrote:

> Pedro Valentini wrote:
>
>> Hi,
>> I think that many others people can need this functions, can someone 
>> help me to make it?
>>
>>    1. getHtml() - this function return the html source from the 
>> iframe, right to insert in database.
>>    2. insertHtml("

My Content

") - this function insert in >> iframe a html code came from database. >> >> What do you think? It is realy util or not? > > function insertHtml(html) { > iframe.contentDocument.body.innerHTML = html; > } I don't know if the original suggestion does but this code will confuse the editor's undo history... -- Warning: May contain traces of nuts.