How Could I Allow User Input to Just Fractions and Integers (but Not Mixed Numbers) in HTML

前端 未结 0 657
灰色年华
灰色年华 2021-02-10 05:18

Just as the question states above, how could I limit user input to just fractions (whole numbers not included), and integers. Examples being 3/4 or -5, but not -3 4/5.

I

相关标签:
回答
  • 消灭零回复
提交回复
热议问题