Preventing form submission when Enter is pressed

$('input').keydown(function(event){
            if(event.keyCode == 13) {
                event.preventDefault();
                return false;
            }
});

Comments

Popular posts from this blog

Set limit wp_nav_menu

Conut document have children that are show in navigation