how to make input type a number only in html javascript code example Example: html input box integer only <input type="number" name="someid" />