<textarea cols="50" rows="10" onKeyDown="ctlSubmit(event);"></textarea>
文本框像上面那样定义,然后再写一个ctlSubmit函数自动判......