Lowest price ever! Learn Generative AI for 48% less!
Get my discount+ 1
try this out I used this in my own script.
function _execute(e){
if (e.keyCode == 13) {
//Execute the code here
return false;
}
}
<input onkeypress="return _execute(event);" type="text"/>