I'm creating a kind of forum on my client's site. In this forum, to ask questions and comments, obviously use TextAreas.
However, I'm using the NicEdit class to transform my textareas with font choice, size, insertion of images and links etc. I've had to put the code like this:
<script src="http://js.nicedit.com/nicEdit-latest.js"type="text/javascript"></script>
<script type="text/javascript">
bkLib.onDomLoaded(function () {
var textareas = document.getElementsByName("postar");
for(var i=0;i<textareas.length;i++)
{
var myNicEditor = new nicEditor();
myNicEditor.panelInstance(textareas[i]);
}
//var textareas2 = document.getElementsByName("comentar");
//for(var i=0;i<textareas2.length;i++)
// {
// var myNicEditor = new nicEditor();
// myNicEditor.panelInstance(textareas2[i]);
// }
});
</script>
So, my comments textareas are normal. What could I do to enable the comment textareas normally with NicEdit?