Jquery validation with dependency-expression is not working in IE

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • RuthC
    New Member
    • Nov 2007
    • 33

    Jquery validation with dependency-expression is not working in IE

    Jquery validation with dependency-expression is not working in IE. it works fine in FF. Here is the part of code.

    Code:
    $("#myform").validate({  
        rules: {                                                                           
            cat_list:{required: function(){ return $('#offertype:checked').val() == 2}},  
            panel:  "required",  
            title: "required"  
        },  
        messages: {  
            cat_list: "Category Required",  
            panel: "Panel Required",  
            title:"Title Required"  
        }  
    });
    Please help me to find out where I am wrong. Thanks
  • JKing
    Recognized Expert Top Contributor
    • Jun 2007
    • 1206

    #2
    Are there any javascript errors? They will show up in the bottom left hand corner of the browser window indicated by a small yellow triangle with a ! in it. Double Click that.

    Comment

    Working...