This afternoon, I am depressed, I can't figure it out, I will understand that if the two VAR type variables are directly used>
So I used a mandatory type conversion function. PARSEFLOAT ()
Function isquantityOutofrange (Theform)
{
Alert ('Aaaaaaaaaaaaaaaaaaaaaaa);
Var msg = "Please enter a legal number";
Var len = theform.quantity2.Length;
For (var i = 0; i
{
Var quanfield = theform.quantity2 [i] .value;
Var OriginalQuanfield = Theform.originalQuantity [i] .value;
Alert (Quanfield '-------' OriginalQuanfield "------- ');
IF (Parsefloat (OriginalQuanfield)
Alert ('No.'s (i 1) "number exceeds the number of protocols');
Return True;
}
}
Return False;
}