Search
 
SCRIPT & CODE EXAMPLE
 

HTML

not allow decimal in input type number

<form action="#" method="post">
  Numbers: <input name="num" 
                  type="number"
                  min="1"
                  step="1"
                  onkeypress="return event.charCode >= 48 && event.charCode <= 57"
                  title="Numbers only">
  <input type="submit">
</form>
Comment

PREVIOUS NEXT
Code Example
Html :: typo3 news search form params lost pagination 
Html :: WEBSITES WITH INNERHTML 
Html :: apache serve json 
Html :: angular material tags list 
Html :: how to back up disk partision 
Html :: fa fa-wrench fa-2x sunflower 
Html :: bootdtarp 
Html :: eml vs emlx files 
Html :: default button width in column flex direction bootstrap 
Html :: allow <= 20 characters in search engine snippets 
Html :: remove jsessionid from url spring 
Html :: inline calendar 
Html :: HTML Computer Code Elements 
Html :: arduino wireless communication 
Html :: how to give h1 h2 in r studio 
Html :: pipalukh16@gmail.com c=a.getattribute("data-submit false");a="1"===c||"q"===c &!a.elements.q.value?!0:!1}else 
Html :: custom html in swal2 vue 
Html :: github fold all review files 
Html :: can we check web site link in text view and make is url like 
Html :: html shortcut 
Html :: html tags rare 
Html :: Prevent snippets from web page to be shown on search engine results 
Html :: html regex p.iva 
Html :: asp.net get innerhtml of div 
Html :: posh-ssh key authentication 
Html :: Creating Github logo with CSS 
Html :: what can do to cant slecet or drag img in html 
Html :: Open the image after clicking on the text with the effect in html 
Html :: vim terminal to add data in each line with file open 
Html :: change html title 
ADD CONTENT
Topic
Content
Source link
Name
6+3 =