0

I'm using jquery validation. Other field validations are working well except chzn-select.

<script>
    jQuery(document).ready(function() {   
        FormValidation.init();
    });

    $(function() {          
        $(".chzn-select").chosen();
    });
</script>

html code

<select name="op[]" class="chzn-select" style="width:400px;" required>
    <option value="">Select</option>
    <option value="1">chose 1</option>
    <option value="2">chose 2</option>
</select>
Alex Riley
  • 169,130
  • 45
  • 262
  • 238
FaTe
  • 5
  • 4
  • http://stackoverflow.com/questions/11232310/how-can-i-use-jquery-validation-with-the-chosen-plugin – vaso123 Dec 01 '14 at 12:14
  • i see that but how use code $.validator.setDefaults({ ignore: ":hidden:not(select)" }) – FaTe Dec 01 '14 at 12:20

0 Answers0