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
I have developed custom javascript to achieve this feature by just adding class
Example: Custom Print
Custom Print
Here Check it out Fiddle -- or -- check out running example https://stackoverflow.com/a/58010042/6631280
Note: on current logic, you need to press Ctrl + Enter