I don't know how to install CKeditor, I downloaded the editor on the website and then put the following code between my head tags :
<script type="text/javascript" src="ckeditor/ckeditor.js"></script>
<script type="text/javascript">
window.onload = function()
{
var oFCKeditor1 = new CKEDITOR('message');
oFCKeditor1.ToolbarSet = 'Basic' ;
oFCKeditor1.BasePath = "ckeditor/" ;
oFCKeditor1.ReplaceTextarea() ;
}
</script>
But the line below returns me this error:
Uncaught TypeError: object is not a function
var oFCKeditor1 = new CKEDITOR('message');
Any idea ?