just some more information
I am actually using tiny_mce from this website.
http://tinymce.moxiecode.com/ It is actually a jscript which creates a formatting toolbox(similar to ms
word)
eg. you can bold words - It creates the html code, so when you save the text it saves the html code also
My code is as follows
-------------------------------
<HEAD>
.
.
<script language="JavaScript" type="text/javascript" src="../jscripts/tiny_mce/tiny_mce.js"></script>
<script language="JavaScript" type="text/javascript">
tinyMCE.init({
mode : "textareas",
theme: "simple"
});
.
.
</HEAD>
<BODY>
<form name="myform" action="../chapter_admin/<%=chapter_name%>?action=add_missionStatements" method="post" onSubmit="return verify();">
.
.
<b>MISSION STATEMENT:</b><p><p><textarea cols="80" rows="5" name="DESCRIPTION" colspan="2">
<%=checkNull((
String)selected_missionStatement.getDescription())%></textarea>
.
.
</BODY>
-------------------------------------------------------------------------------------------------------
Now the problem is that if I try to use any other javascript in this text area, the onkeydown or onkeyup events doesn't work at all
Thanks again