Gurnoor Kahlon Gurnoor Kahlon - 24 days ago 9
Javascript Question

Solved and all good

Solved and all good, working now!

Answer

Check out the fiddle I have worked on mate and let me know if this is what you need and lets update it to what you want. . . https://jsfiddle.net/e2nf73bu/1/

$(document).on('keypress',function(event){
   if ( event.which == 13 ) {
         $('#submit').click()
  }
})