View Full Version : RTE function of readonly() give error in firefox

11-21-2008, 11:37 AM
hi dear

i download and install script of rich text editor for text area.its working is really good.but when i use function name.readonly() in firefox its gives an error and produce alert message ("Error executing command.").Can you help me.thanks in advance

11-22-2008, 06:42 PM
Warning: Please include a link to the DD script in question in your post. See this thread (http://www.dynamicdrive.com/forums/showthread.php?t=6) for the proper posting format when asking a question.

Please post a link to the page on your site that contains the problematic code so we can check it out.

If I change things on the archive's demo page to:

<script language="JavaScript" type="text/javascript">
//Usage: writeRichText(fieldname, html, width, height, buttons, readOnly)
writeRichText('rte1', 'here&#39;s the "<em>preloaded</em> <b>content</b>"', 400, 200, true, true);

I get no error in FF.