Answers for "jquery disable keypress"

0

jquery disable keypress

// turn off the enter key to stop form submitting
    jQuery(document).keypress(
        function(event){
            if (event.which == '13') {
                event.preventDefault();
            }
        }); // end disable keypress
Posted by: Guest on October-30-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language