When js reads text boxes or other form data, the value obtained is of string type, such as two text boxes a and b. If the value of a is obtained is 11 and the value of b is 9, then it should be less than, because they are both in string form. I found a article about js string to numbers on the Internet, and this is a complete article.
2013-03-03