Answers for "allow only positive integer in input type number"

0

allow only positive integer in input type number

<!DOCTYPE html>
<html>
  <head>
    <title>Title of the document</title>
  </head>
  <body>
    <input type="number" name="test_name" min="0" oninput="validity.valid||(value='');">
  </body>
</html>
Posted by: Guest on April-06-2022

Code answers related to "allow only positive integer in input type number"

Browse Popular Code Answers by Language