I have a searchbox on my site that. Currently, users must click the submit button next to the box to search via jquery\'s post. I would like to let users also press enter
you can use below event of keypress on document load.
$(document).keypress(function(e) { if(e.which == 13) { yourfunction(); } });
Thanks