I have a line of code thus:
'Comments' is the id of my textarea which contains the ckeditor. Here's how I create it:
With the above I get a JavaScript error"
"Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus"
How do I get around this problem?
<BODY ONLOAD="onLoadFunc('/img/');window.document.CreateItem.Comments.focus();">
'Comments' is the id of my textarea which contains the ckeditor. Here's how I create it:
<TD COLSPAN="3"> <TEXTAREA CLASS="valueEditable" NAME="Comments" ID="Comments" ROWS="12" COLS="60" WRAP="SOFT" onChanged="markDirty()"></TEXTAREA> <script type="text/javascript"> CKEDITOR.replace('Comments', { toolbar : [ ['Bold','Italic','Font','FontSize'] ] }); </script> </TD>
With the above I get a JavaScript error"
"Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus"
How do I get around this problem?