here is what i tried and was successful
function appendText(e) {
var charChode;
if (e && e.which) {
e = e;
charChode = e.which;
}
else {
e = event;
charChode = e.keyCode;
}
if (charChode == 13) {
var TheTextBox = document.getElementById("<%=txtComments.ClientID %>");
if (window.ActiveXObject) {
e.returnValue = false;
e.cancel = true;
TheTextBox.value = TheTextBox.value + "\n* ";
}
else {
e.preventDefault();
}
}
Hope it helps you.