According to the documentation for integration in JSP, i included this line in the header:
<script type="text/javascript" src="/FCKeditor/fckeditor.js"></script>
and then i included these lines where i wanted the editor to show up:
<script type="text/javascript">
var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
oFCKeditor.Create() ;
</script>
When i go to the webpage, i get a javascript error that says:
'FCKeditor' is undefined
How do i fix this?
Thanks.
<script type="text/javascript" src="/FCKeditor/fckeditor.js"></script>
and then i included these lines where i wanted the editor to show up:
<script type="text/javascript">
var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
oFCKeditor.Create() ;
</script>
When i go to the webpage, i get a javascript error that says:
'FCKeditor' is undefined
How do i fix this?
Thanks.
RE: 'FCKeditor' is undefined error
I had the FCKeditor folder a level below. So my line should have read:
<script type="text/javascript" src="myApp/FCKeditor/fckeditor.js"></script>