//键盘快捷键 enter发送消息
function goto_send_msg(e) {
var e = e || window.event;
var currKey = e.keyCode || e.which || e.charCode;
if (currKey == 13 || currKey == 108) { //如果按下ENTER键
send_msg();
}
function goto_send_msg(e) {
var e = e || window.event;
var currKey = e.keyCode || e.which || e.charCode;
if (currKey == 13 || currKey == 108) { //如果按下ENTER键
send_msg();
}
}]]
但是这个在firefox中不行 暂时先放在这里