I created a function that is added to the validator. The function is:
min = jQuery(param).val();
max = value;
confirm('min: ' + min);
confirm('max: ' + max);
confirm(min < max);
return min < max;
},"Please make sure the maximum price is greater than the minimum price");
The values are being pulled from a select list. When the min is equal to 99999 and the max is 125000 it returns true that the min is greater than the max. Any idea why this is happening? For all other values it works as expected.
example.html (4.0 KB) - added by xfactor973
April 01, 2008 06:43PM UTC.