Search
 
SCRIPT & CODE EXAMPLE
 

HTML

html disable enter submit

//per form disabling
<form ... onkeydown="return event.key != 'Enter';">
 
  
//or with jquery  
<script>
 $(document).on("keydown", "form", function(event) { 
    return event.key != "Enter";
});
 </script>
Comment

PREVIOUS NEXT
Code Example
Html :: notyf 
Html :: html center image vertically bootstrap 
Html :: bootstrap col-md-5 center 
Html :: how to add title icon in html 
Html :: input file accept image 
Html :: html select required 
Html :: how to show iframe in full width 
Html :: bootstrap 5 div center 
Html :: difference between name and value in html 
Html :: Making a Phone number a link 
Html :: html href tel 
Html :: center iframe 
Html :: confuse your browser in html 
Html :: bootstrap side by side columns 
Html :: font awesome 5 cdn 
Html :: open email client from html 
Html :: source sans pro html code 
Html :: make a basic html page 
Html :: html option 
Html :: embed replit 
Html :: bootstrap datepicker format dd-mm-yyyy 
Html :: sms link 
Html :: remove click efect bootstrap 
Html :: calendar input 
Html :: fa fa file 
Html :: laravel murakkab old 
Html :: how to use pyscript in html 
Html :: facebook icon html 
Html :: HTML Table Padding & Spacing 
Html :: json placeholder 
ADD CONTENT
Topic
Content
Source link
Name
5+5 =