Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Ultimate Member - Submit Search form on Enter
jQuery(function(){
jQuery(".um-search form *").keypress(function(e){
if (e.which == 13) {
jQuery('.um-search form').submit();
return false;
}
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment