I read a bug report that said that this issue had been fixed, but I continue to have the problem, though my code works fine in IE.
I can get focus in one or the other of the editors, but once I have obtained focus in one, I can't get it in the other. Once I have saved the data into the database and re-retrieved it, I can no longer get focus in the respective editor.
My code:
<script type="text/javascript">
window.onload = function()
{
var oFCKeditor = null;
var o2FCKeditor = null;
oFCKeditor = new FCKeditor("service");
o2FCKeditor = new FCKeditor("comments");
oFCKeditor.BasePath = "/FCKeditor/";
oFCKeditor.ToolbarSet = "FIS";
oFCKeditor.Config["SkinPath"] = "/FCKeditor/editor/skins/office2003/";
oFCKeditor.ReplaceTextarea();
o2FCKeditor.BasePath = "/FCKeditor/";
o2FCKeditor.ToolbarSet = "FIS";
o2FCKeditor.Config["SkinPath"] = "/FCKeditor/editor/skins/office2003/";
o2FCKeditor.ReplaceTextarea();
}
</script>
<form ...>
<textarea id="service" name="service" rows="10" cols="60" wrap="soft"></textarea>
<textarea id="comments" name="comments" rows="10" cols="60" wrap="soft"></textarea>
</form>
I put the object nulls into the code because it appeared that there was some leakage: multiple refreshes of the page in IE (where the code otherwise worked) would end up generating errors (don't know what errors, since this report is second hand).
I am doing all this in a JSP / JavaBean environment on Mortbay Jetty v4.2.23.
Any help?
I can get focus in one or the other of the editors, but once I have obtained focus in one, I can't get it in the other. Once I have saved the data into the database and re-retrieved it, I can no longer get focus in the respective editor.
My code:
<script type="text/javascript">
window.onload = function()
{
var oFCKeditor = null;
var o2FCKeditor = null;
oFCKeditor = new FCKeditor("service");
o2FCKeditor = new FCKeditor("comments");
oFCKeditor.BasePath = "/FCKeditor/";
oFCKeditor.ToolbarSet = "FIS";
oFCKeditor.Config["SkinPath"] = "/FCKeditor/editor/skins/office2003/";
oFCKeditor.ReplaceTextarea();
o2FCKeditor.BasePath = "/FCKeditor/";
o2FCKeditor.ToolbarSet = "FIS";
o2FCKeditor.Config["SkinPath"] = "/FCKeditor/editor/skins/office2003/";
o2FCKeditor.ReplaceTextarea();
}
</script>
<form ...>
<textarea id="service" name="service" rows="10" cols="60" wrap="soft"></textarea>
<textarea id="comments" name="comments" rows="10" cols="60" wrap="soft"></textarea>
</form>
I put the object nulls into the code because it appeared that there was some leakage: multiple refreshes of the page in IE (where the code otherwise worked) would end up generating errors (don't know what errors, since this report is second hand).
I am doing all this in a JSP / JavaBean environment on Mortbay Jetty v4.2.23.
Any help?
RE: Problems with Multiple ReplaceTextarea in