If maximum is greater, then I'm trying to compare values (minimum-max) with two inputs. Which works
The problem occurs when I correct the maximum value and submit it again, this is showing the same warning ...
This is my HTML is:
Can get full sample
.val () returns a string, so
$ input1.val ()> $ Input2.val () === When input1 = "7" and input2 = "456456"
To avoid that compartment you must use the parseInt () function
Parseint ($ input1.val ()) & gt; ParseInt ($ input2.val ()) === Incorrect when input1 = "7" and input2 = "456456"
No comments:
Post a Comment