I have a chat that uses textarea instead of text for obvious reasons. This is why each time members hit ENTER they get a new line instead of sending the message. I would li
function KP() { var x = event.keyCode; if(x==13) { // alert (x); document.message.submit(); } }
php
echo ''txt'';