Using only onChange and value and while focused inside a , preferably without jQuery, is there a way to trigger a method by pressing
onChange
You just simply fire a function like this,
{ var key = event.keyCode || event.which; if (key === 13) { // perform your Logic on "enter" button console.log("Enter Button has been clicked") } }} />;