Press Enter key to submit the form.
document.getElementById("keyword").onkeydown = function(e){ if(e.keyCode == 13){ // Submit } }