jquery keypress ctrl enter
Select the value when user enters Enter key.(cmbCIMtrekDailyshipCoCustomerName select).bind(keypress, function(e) var code (e.keyCode ? e.keyCode : e.which) 6 Solutions collect form web for jquery ctrlenter as enter in text area. The following will work in all the major browsers, including IE.Make sure this is a textarea, not an input[typetext]. Consider using keypress instead of keydown. .keypress(handler) .keypress(). handler is a function to execute each time the event is triggered. Return value is the jQuery object, for chaining purposes.The following code converts key code to char in keypress event handler. Theres a keypress() event method. The Enter keys ascii number is 13 and is not dependent on which browser is being used.(see also CtrlEnter jQuery in TEXTAREA).