I have one text input and one button (see below). How can I use JavaScript to trigger the button\'s click event when the Enter key is pressed ins
This in-case you want also diable the enter button from Posting to server and execute the Js script.