how to avoid negative values in javascript code example Example: bootstrap css non negative number input <input type="number" min="0">