I forgot that I started this thread
Yes, here's how I did it for the vB Spell, this is just a portion, you can download the entire code from the vB Spell hack
HTML Code:
if (window.opener.document.getElementById(spell_fieldname + '_iframe') == null)
{
if (window.opener.document.getElementById(spell_fieldname + '_textarea').innerHTML == '')
{
window.opener.document.forms[spell_formname]["message"].value = mispstr;
}
else
{
var oHtml = window.opener.document.getElementById(spell_fieldname + '_textarea');
oHtml.innerHTML = mispstr;
}
}
else
{
var iframe = window.opener.document.getElementById(spell_fieldname + '_iframe');
var iframedoc = iframe.contentWindow.document;
var oHtml = iframedoc.body;
oHtml.innerHTML = mispstr;
}