Posted by GooderThanYou on 02/02/06 21:55
First off, what is the good way to do editable IFrames? I'm using
IFrame as a way to do RTF. So far it's worked all but when you have a
return character, here's some of the code.
IFRAME width=600 HEIGHT=400 scrolling="yes" ID=service></IFRAME>
<? echo '<script type="text/javascript" language="javascript">
service.document.write("'.$currentInfo.'");
service.document.designMode = "On";
</script>' ?>
I am printing to word document and everything is there fine.
When there is a return space....
I cannot edit the IFrame any more
The text won't appear in the IFrame when loaded
(probably some error being thrown, it says theres an unterminated
string constant in the error on page thing)
Thanks in advance
[Back to original message]
|