NicEditor not working ReferenceError: bkLib-Collection of common programming errors
I got a problem with my NicEditor. If I use a simple html page which is like this:
bkLib.onDomLoaded(nicEditors.allTextAreas);
Which is okay. But what happens is im using a index.page which has a navigation pane and a DIV container pane which will be change after I selected a menu in the navigation pane using this code
$('table#messages tr td a').click(function(){
//Content Manipulation
var page = $(this).attr('href');
page = page.replace('#','');
$('#content').load('message.details.php?messageid='+page);
return false;
});
I tried to include the NicEditor Script in the index.php but it seems the of the message.detail.php was not converted into NicEditor. I also tried to include NicEditor Script to the message.detail.php but it gives an error of “Uncaught ReferenceError: bkLib is not defined”
Message Detail Page
bkLib.onDomLoaded(nicEditors.allTextAreas);
I hope you understand what I’m trying to say.