Bug Tracker

Changes between Initial Version and Version 1 of Ticket #2633


Ignore:
Timestamp:
Apr 1, 2008, 10:41:50 PM (14 years ago)
Author:
davidserduke
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2633

    • Property Component changed from core to plugin
  • Ticket #2633 – Description

    initial v1  
    11I created a function that is added to the validator.  The function is:
    22
     3{{{
    34                $.validator.addMethod("greaterThan",function(value,element,param){
    45                        min = jQuery(param).val();
     
    910                        return min < max;
    1011                },"Please make sure the maximum price is greater than the minimum price");
     12}}}
    1113
    1214The 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.