Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
Surpress Enter Key on igNumericEditor

I have implemented an igNumericEditor on my page.

When the users pressed the Enter Button the form closes.

How can I catch the Enter key to prevent my page to close.

(I have seen: )

but this solution seems not to be working on igNumericEditor.

my implementation looks like

$("#number_working_hours").igNumericEditor( {
minValue: 100,
maxValue: 9000,
dataMode: 'int',
groupSeparator: String.fromCharCode(65279),
regional: 'de',
hideEnterKey: true,
keydown: function(evt, ui) { return false; // return ui.key !== 13;