I currently use this code to send my messages.
$('#chatEnvia').click(function() {
$.post( "inc_chatEnvia.php", { acesso: "ok", msg: $("#chatEscrita").val() });
});
I would like to know, how do I when pressed together Ctrl + Enter to run the code to send the messages?
It is important to do submit , both with Ctrl + Enter and with the button press.