Disable Enter button action

I want to disable the “Enter” key button action for the form. So, the ajax result only will show on typing.