I’ve tried quite some fixes i found on stackoverflow and elsewhere but I couldn’t get any of them to work properly. They either disable the enter key everywhere or just don’t work at all (or they’re not properly explained).
I need the normal submit on enter key behavior to work on all the other elements except this one text input and for it to be replaced with my own function when the text input is selected.
How to get whether the Enter is pressed?
Also note this comment on that page:
Which isn’t 100% correct anymore, since it also works works in Chrome. However it wouldn’t surprise me if it still doesn’t work in IE.