when loading a form containing a textarea with ckeditor through
function makerequest(serverPage, objID) {
var obj = document.getElementById(objID);
xmlhttp.open("GET", serverPage);
xmlhttp.onreadystatechange = function() {
if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
obj.innerHTML = xmlhttp.responseText;
}
};
xmlhttp.send(null);
}
the ckeditor will not load. please assist
example of working version : http://prj.stroetenga-design.nl/erna/he ... ontent.php
example of failing code : http://prj.stroetenga-design.nl/erna/he ... ise/admin/
which essentially loads the same code ..
>>
<html> <head> <title>Sample CKEditor Site</title> <script type="text/javascript" src="../tools/ckeditor/ckeditor.js"></script> </head> <body> <form method="post"> <p> My Editor:<br /> <textarea id="editor1" name="editor1"><p>Initial value.</p></textarea> <script type="text/javascript"> CKEDITOR.replace( 'editor1' ); </script> </p> <p> <input type="submit" /> </p> </form> </body> </html>
<<
and i made sure the js location is correct
please assist
Re: CKEditor fails when loading into a div
I adjusted the test scenario a little to :