textarea.bind('keypress',function(e){/** * Some browsers will send keyCode == 10 instead of keyCode == 13 when using the ctrl modifier key * (some browsers will send it even when you aren't using the ctrl modifier key). */if(e.ctrlKey&&(e.keyCode===13||e.keyCode===10)){//do somethinge.preventDefault();}});